2 ms·
Rust's first compilers were written with OCaml. We don't provide bootstrapping from C because no C-based toolchain has ever existed. However, it may in the fut
by steveklabnik 9y ago
Rust's first compilers were written with OCaml.
We don't provide bootstrapping from C because no C-based toolchain has ever existed. However, it may in the future; see my link upthread.
- deleted 9y ago[deleted]
- progman 9y agoI think bootstrap with OCaml is ok - if just bootstrap from source becomes possible at all. Binary-only dependency is awful when Rust is wanted on yet unsupported systems.
- steveklabnik 9y agoIt's not a significant issue if you can accept cross-compiling. This is how most platforms get their start.
- npsimons 9y ago> This is how most platforms get their start. The key word here is 'start'. I don't like to arbitrarily constrain tools, but I've always felt that cross-compilers were sort of a last resort, ie, you don't have a native compiler (you're writing the compiler or operating system), or are really pressed for time. Once you've got a native compiler, that should be it: self-hosted from there on.