4 ms·
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 colle
by Lorkki 9y ago
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#.
- vog 9y ago... or the "original", OCaml, from which Rust was heavily inspired.
- sitkack 9y agoF# is a superset of OCaml, one can program OCaml in F#, sorta [1][2]. [1] https://stackoverflow.com/questions/4239121/code-compatibility-between-ocaml-and-f https://stackoverflow.com/questions/4239121/code-compatibili... [2] https://stackoverflow.com/questions/179492/f-changes-to-ocaml https://stackoverflow.com/questions/179492/f-changes-to-ocam...
- thrasibule 9y agoF# 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.