News for hackers. Stuff that matters.
Re:Pointer Free Programming and the Future of Nim by CyberDildonics on Friday October 20, 2017 @10:12AM (#15515902)
C++17 has std::optional

If you've ever used unstable software that crashes in a dozen different ways you can thank null pointers.

Modern C++ isn't about substituting references for pointers, it is about dealing with values and removing a level of indirection that pointers gives.

The old style of of using pointers everywhere frequently usually implies a lot of small heap allocations which is also a big performance problem. Both these things end up being huge detriments to speed and stability.

There are no comments on this comment yet.