News for hackers. Stuff that matters.
Re:Try Out Rust IDE Support in Visual Studio Code by zanny on Friday August 18, 2017 @05:40PM (#15049968)
The thing is nightmare Rust code is usually obvious - the dev is using a lot of unsafe{} blocks, or Cell, or is spewing out a really complex type signature.

With C++, the nightmares are just really obscured pointer manipulation that can work but have infinite edge case failure states that cause endless undefined behavior.

In Rust, if it compiles, it is at least constrained to only break what the dev explicitly broke, it doesn't break everything.

Re:Try Out Rust IDE Support in Visual Studio Code by sanxiyn on Friday August 18, 2017 @10:24PM (#15051289)
Note that Cell is entirely safe and not problematic. It is RefCell that can cause problems.