3 ms·
Rust is pretty much the first mainstream-ish language ever to have substructural typing as a core feature. I can't see how this is archaic.
by Kutta 12y ago
Rust is pretty much the first mainstream-ish language ever to have substructural typing as a core feature. I can't see how this is archaic.
- pcwalton 12y agoTo be fair, C++ has an approximation of it with move semantics/rvalue references—and I'm really glad that it does, since it makes unique pointers much more mainstream of a concept than it would have been otherwise. (Rust tries to avoid unfamiliar concepts with no analogues in other languages.) It's just not safe in C++; there are lots of ways to get undefined behavior via use-after-move.