News for hackers. Stuff that matters.
Re:A Reply to “Let’s stop copying C” by einpoklum on Saturday January 25, 2020 @06:56PM (#22149423)
Note that in C++ today, static analysis tools + classes such as `std::unique_ptr`,`gsl::owner` and `gsl::non_null` (similar to the Kotlin mechanism you described), it is possible to avoid the possibility of null pointer dereferencing.

That's not to say the same thing is possible in C, but one _can_ go a long way with static analysis at least, and suspicion vs provability regarding pointer dereferences.

There are no comments on this comment yet.