3 ms·
I don't know much about Rust but the Wikipedia page says the original Rust compiler was written in OCaml, and that the new compiler is self-hosted and written i
by ionised 11y ago
I don't know much about Rust but the Wikipedia page says the original Rust compiler was written in OCaml, and that the new compiler is self-hosted and written in the Rust language itself.
- feld 11y ago"OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program." Just look at its source, there's C everywhere.
- the_why_of_y 11y agoThe OCaml bytecode interpreter is implemented in C. The OCaml compiler generating said bytecode is implemented in OCaml, as is the other OCaml compiler that generates machine code.