News for hackers. Stuff that matters.
Re:Mozilla Welcomes the Rust Foundation by fpoling on Wednesday February 10, 2021 @10:03AM (#26090044)
The biggest advantage of Rust is that the liner types and the borrow checker forces one to structure the application in a way that is much more manageable long-term and less error-prone even with occasional sprinkle of unsafe code.

Surely one can code in such style in C++, but it is very unnatural there with a lot of boilerplate, so one just would not consider it typically.

Re:Mozilla Welcomes the Rust Foundation by mathstuf on Wednesday February 10, 2021 @01:21PM (#26092871)
You mean "affine types". Linear types are required to be used while Rust allows one to manually drop a type. This allows you to get the next state and do nothing with it while a linear type would compel you to move to the next state.
Re:Mozilla Welcomes the Rust Foundation by fpoling on Wednesday February 10, 2021 @05:24PM (#26095634)
Yes, I meant affine types.