News for hackers. Stuff that matters.
Re:C89cc.sh – standalone C89/ELF64 compiler in pure portable... by xonix on Friday April 03, 2026 @07:41AM (#47625534)
But how would POSIX shell be available? Wouldn’t it be compiled from C?
Re:C89cc.sh – standalone C89/ELF64 compiler in pure portable... by laurenth on Friday April 03, 2026 @09:33AM (#47626494)
A shell is almost always used to setup the bootstrap environment, so the dependency on a shell is more or less always there.

Otherwise, something special with POSIX shell is its large number of independent implementations, making it the ideal starting point for diverse double-compilation (https://arxiv.org/abs/1004.5534). The idea is to bootstrap a toolchain from multiple compilers (shells in this case), and the result compared to verify that no shell introduced a trusting trust attack.