Re:The biggest threat to Rust's sustainability
by floatboth on Friday March 19, 2021 @06:42AM
(#26511859)
Rust is rather more like "Haskell-ish C++". (Typeclasses were popularized by Haskell and are not available in SML or OCaml.) While the C++ heritage is obviously the memory management – no runtime, heavy use of scope based deterministic destruction ("RAII"). Also the compile-time metaprogramming that gets monomorphized. (All those template/generic instantiations that can bloat the binaries if overused :D)
[ Parent
| on HN ]
Re:The biggest threat to Rust's sustainability
by Zababa on Friday March 19, 2021 @08:11AM
(#26512352)
For reference, here's the "influences" page of the Rust reference: https://doc.rust-lang.org/reference/influences.html
SML, OCaml, C++ and Haskell are all mentionned.
Re:The biggest threat to Rust's sustainability
by jgilias on Friday March 19, 2021 @06:54AM
(#26511909)
I've been bashed before for saying something along the lines of "Haskell-ish C++". Their fair point being that the only Haskell influence is the typeclasses, and all other ML-influences are just ML-influences that are not unique to Haskell. Fair enough :)