3 ms·
> (1) Building a self-hosted compiler or interpreter. Aren't every compiler or interpreter self-hosted, because they run on your own machine?
by nomdep 4y ago
> (1) Building a self-hosted compiler or interpreter.
Aren't every compiler or interpreter self-hosted, because they run on your own machine?
- 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)
- deleted 4y ago[deleted]
- thrtythreeforty 4y agoNo. A self-hosted language means the language's compiler or interpreter is written in that language. Go is written in Go. rustc is written in Rust. clang is written in C++. Etc.