Re:Mrustc: a Rust compiler written in C++
by Lorkki on Friday September 22, 2017 @02:52AM
(#15309941)
The need for the borrow checker is driven by Rust's chosen resource management model. It sounds like what you really want is an optional mode with garbage collection, in which case I recommend you check out F#.
[ Parent
| on HN ]
... or the "original", OCaml, from which Rust was heavily inspired.
Re:Mrustc: a Rust compiler written in C++
by sitkack on Friday September 22, 2017 @06:19AM
(#15310727)
F# is a superset of OCaml, one can program OCaml in F#, sorta [1][2].
[1] https://stackoverflow.com/questions/4239121/code-compatibili...
[2] https://stackoverflow.com/questions/179492/f-changes-to-ocam...
Re:Mrustc: a Rust compiler written in C++
by thrasibule on Friday September 22, 2017 @09:36AM
(#15312019)
F# is not a superset of OCaml. There are many things in OCaml that are not in F#. The second link you pointed out lists them.