News for hackers. Stuff that matters.
Re:“Modern” C++ Lamentations by Gibbon1 on Friday December 28, 2018 @03:34PM (#18779213)
I totally disagree, I think that era has been over for the last 20 years.

I keep coming back to a talk by Daniel J. Bernstein, that the assumptions computer science teaches about performance are wrong. His claim is for real programs most code is ice cold and a tiny percentage is hot. And that's getting worse not better as time goes on.

What important is; correctness, latency, compile time. Not raw speed.

Re:“Modern” C++ Lamentations by adrianN on Friday December 28, 2018 @03:54PM (#18779336)
In my experience that claim is very true before you fire up your profiler. But once you've optimized your program for a bit the profile gets a lot flatter.
Re:“Modern” C++ Lamentations by Gibbon1 on Saturday December 29, 2018 @10:44PM (#18787251)
I think if your programs profile is flat it means none of your code is actually in the hot path. It's buried behind library functions and OS calls.