Re:C and C++ Prioritize Performance over Correctness
by optymizer on Friday August 18, 2023 @03:27PM
(#37180827)
This reasoning is why software keeps getting slower and more bloated, build times increase, and latency goes up despite having orders of magnitude more compute power.
[ Parent
| on HN ]
Re:C and C++ Prioritize Performance over Correctness
by jerf on Friday August 18, 2023 @04:38PM
(#37181774)
If whatever language you're thinking of does that, it isn't one of the ones I'm talking about. I sure as heck aren't talking about Python here. Think Rust, D, Nim, in general the things floating along at the top of the benchmarks (that's not a complete list either).
Re:C and C++ Prioritize Performance over Correctness
by nmz on Friday August 18, 2023 @07:48PM
(#37183695)
I don't see how this solves anything, Nim's backend is C, which means it should suffer from the same pitfalls. They probably clean it up and eliminate UB, but it should still exist.
Re:C and C++ Prioritize Performance over Correctness
by Pet_Ant on Saturday August 19, 2023 @05:36AM
(#37187059)
Yeah, but with less bugs, more features, and faster development. I mean I hate Electron with a passion but it means everybody gets a client. Let’s not pretend that it’s all worse rather than a set of tradeoffs.