3 ms·
Of course, they did. The initial compiler was written in Ocaml. Early Rust looked much more like a ML language. They intentionally moved to a C-like syntax bec
by brmgb 4y ago
Of course, they did. The initial compiler was written in Ocaml.
Early Rust looked much more like a ML language. They intentionally moved to a C-like syntax because it is more familiar to their target audience.
- haskman 4y agoI didn't mean the designers of Rust. I meant the author of the article did not consider a Haskell like syntax. I completely understand the reasons for Rust devs targeting a C like syntax. Rust had already blown its novelty budget on the borrow checker semantics.
- brmgb 4y agoCrabML is a ML-like syntax which is very close to the Miranda-based syntax Haskell uses.