Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


"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 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: