Stroustroup: We need better performance testing [pdf]
open-std.org
open-std.org
I have worked with C++ almost every day for a decade now, and I’ll be sad to see it go. This is not what the thought leaders should be focusing on at all. If you’re unhappy with std:: expected just don’t use it? Why can’t we focus on fixing the thousands of security vulnerabilities that cause real harm and money and endless developer time to try to work around.
Real issues for my peers and myself are things like the thirst for reflections, the thirst for throwing out old garbage. Certain gripes with language details like initialization, the way a few things have been implemented etc.
I genuinely feel puzzled by the topics of all these cpp posts. Is everyone coding ultra low level with tooling from 1999?
One thing that has changed is that nowadays software is everywhere, cyberattacks as well, with corporations and goverments putting numbers into the dollars that get burned in developer salaries, fixing CVEs, rolling out updates, downtimes caused by bug fixes, insurance claims, insurance premiums, lawsuits, malfunction software which consultancies have to fix free of charge,.....
There is a time and place for performance optimized code - but usually where the hot loop is well known, and its a tiny minority of the program.
I'd love to see the industry do some kind of compositional service-level perf work. I'd love something like a contract testing view or perf, so that I can see how changes in a single part of the system will affect over-all SLAs. The tooling we have now seems to be of the form where if we want system perf, we need the big, expensive, kludgy full systems running for perf tests. And that kind of thing slows down dev velocity.
I hope someone from SmartBear reads this is knows the right tech to acquire to accomplish this (give me Pact/PactFlow but for perf!).