crabcc
blog
Notes from building crabcc and vaked: compilers, shells, kernels, and tools for AI coding agents.
-
Parallel by default: a 3.7x shell speedup with Nushell par-each
We swapped a bash/Amber task runner for Nushell and got a measured 3.7x on fan-out work. Here's the benchmark, why par-each wins, and why Nix - not the shell - is what actually keeps it reproducible.
-
Reduce till it's a constant: turning config functions into kernel modules
We model compiled config functions as a small lambda IR and reduce them - known config folds to a compiled-in constant, unknown config stays a minimal residual. One IR targets a MirageOS unikernel and the MyThOS microkernel. Plus: two plausible-but-fake APIs our emitter invented, and how grounding and an independent review caught them.