logoalt Hacker News

arthurbrowntoday at 3:26 PM2 repliesview on HN

Interesting that OCaml was flexible and expressive enough to be used as a prototype testbed but not chosen as the implementation language, especially given the maturity of both. I would be surprised if Zigs incremental builds could be meaningfully faster than dune's.

Cross compilation is great, but not mentioned in the "why Zig" section. Is memory control that crucial for a compiler?

Rust itself was originally written in OCaml, same with WASM. I'm curious about what milestone gets reached where the maintainers collectively decide to transition away.


Replies

steveklabniktoday at 3:29 PM

Rust moved away from OCaml when it decided to be re-written in Rust. The post alludes to this as being a usual time for a wholesale re-write, and I'd agree.

show 1 reply
grayresttoday at 3:34 PM

One of the primary goals for the Roc project is compiler speed. I presume OCaml is out of the running because it's not a systems language.

show 3 replies