|
|
|
|
|
by hnlmorg
52 days ago
|
|
Scala is a great language. And Rust definitely has noticeable influences from ML. But I’d say Rust is closer to C++ than it is to ML. But, to be fair to you, I’ve not touched Rust in a couple of years so maybe my memory is fallible here? |
|
Over the years c++ has been influenced to offer things people like from rust. So modern c++ looks a little more like rust. But older c++ really doesn't.
Similarly rusts approach to dynamic dispatch is more like OCAML than c++.
You can use rust and c++ for similar objectives though. Anyone can reduce two technical things until they are identical or expand them until they are completely different.
I think the most sober take is they are sufficiently different from one another.