3 ms·
Rust has lambdas, ADTs, pattern-matching and typeclasses(although not as powerful without kinds). These things alone makes a significant paradigm shift than pro
by xfer 8y ago
Rust has lambdas, ADTs, pattern-matching and typeclasses(although not as powerful without kinds). These things alone makes a significant paradigm shift than programming in algol style languages. You can just use ARC<T> for every heap-allocated value and rust will still offer a significant advantage compared to C/C++.
- pjmlp 8y agoC++20 has all those things as well, except for pattern-matching expected to arrive by C++23. :) So if it wasn't for the copy-paste compatibility with unsafe C code, there is already quite a few modern features available in the language.