News for hackers. Stuff that matters.
Re:Deprecating Raw Pointers in C++20 by evincarofautumn on Sunday April 01, 2018 @09:58AM (#16728267)
Yeah, also Rust and ATS. A good systems language just needs to allow low-level and unsafe operations; nowadays the industry is warming up to the idea that such operations shouldn’t be available by default. Having to opt in with a machine-checked “unsafe” annotation means you have an explicit indication in the code of everywhere things could go wrong with type/memory safety, which means when something does go wrong, you know it must be caused by one of those unsafe regions.

There are no comments on this comment yet.