News for hackers. Stuff that matters.
Re:Modern C++ Won't Save Us by lallysingh on Monday April 22, 2019 @11:17PM (#19725295)
What legacy? It's not like there was a single "before time." There are problems coming up with all of it, because the underlying runtime model provides too few guarantees. We'll be plugging holes the rest of our natural lives.
Re:Modern C++ Won't Save Us by millstone on Monday April 22, 2019 @11:53PM (#19725482)
No, the problem is NOT the underlying runtime model. In fact it's often the opposite: the STL tries to provide too much.

An excellent example is std::unordered_map. This type was introduced to address perf problems with std::map. But unordered_map forces closed addressing, separate allocation, etc. which limit its performance. In return you get stronger iterator invalidation guarantees but these are rarely useful. Meanwhile Abseil's swiss tables, LLVM's DenseMap, etc. illustrate what a high-performance C++ hash table could be.