3 ms·
It totally is unlike every other language... I can't think of any other language that has rvalue references or move semantics or template metaprogramming or all
by sanderjd 6y ago
It totally is unlike every other language... I can't think of any other language that has rvalue references or move semantics or template metaprogramming or all sorts of other stuff that C++ has in order to pull off its zero-cost abstractions. For other things, like RAII and desctructors, the only language I know that has the same concepts is Rust.
I agree that Rust has some things (maybe just one thing: the ownership + borrow checking system) that are "completely unlike every other language people have been using for decades", but so does C++.