3 ms·
> Aren't every compiler or interpreter self-hosted, because they run on your own machine? Self-hosting in this context means that the compiler is its own toolc
by webmaven 4y ago
> Aren't every compiler or interpreter self-hosted, because they run on your own machine?
Self-hosting in this context means that the compiler is its own toolchain, it doesn't rely on another compiler to create its executable.
That said, nearly all compilers need some other compiler to bootstrap to self-hosting status, though there are projects that aim to minimize that chicken-and-egg issue. More pointers here: https://en.m.wikipedia.org/wiki/Bootstrapping_(compilers) https://en.m.wikipedia.org/wiki/Bootstrapping_(compilers)