News for hackers. Stuff that matters.
Re:C++ Frequently Questioned Answers (2009) by turminal on Sunday January 23, 2022 @06:52AM (#30045512)
> If you wanted readability, or maintainability you have to sacrifice performance. If you want performance, you have to sacrifice everything else.

This is true in every programming language to some extent. What makes it worse in C++ is that the language markets itself as being performant without any trade offs (zero cost abstractions!) and the reality is very different from that.

Re:C++ Frequently Questioned Answers (2009) by TheMonarchist on Sunday January 23, 2022 @07:41AM (#30045735)
> (zero cost abstractions!)

You probably mean zero overhead abstractions. The idea is that you can't outperform it by handwritten equivalent code.

Re:C++ Frequently Questioned Answers (2009) by turminal on Sunday January 23, 2022 @09:30AM (#30046375)
The name is irrelevant, the point is that it's a blatant lie.