Hacker News new | ask | show | jobs
by vram11 2678 days ago
Interesting points. Is OCaml's compiler faster than Rust's?
1 comments

Yes, it is quite a lot faster (as well as being older and just generally more featureful after decades of refinements. For example, or-patterns in pattern matches).
It I understand correctly, Rust just got a limited form of or-patterns, with the requirement that they must be isomorphic (introduce the same number of bindings of the same type).