News for hackers. Stuff that matters.
Re:Modern C by flohofwoe on Saturday September 05, 2020 @08:47AM (#24383144)
> And despite that "distance" there is virtually no difference between C's and C++'s (and often Rust's) performance.

I'm not seeing that in real-world projects though, and it's not only about performance. These are just two random examples from my own experience of where high-level language features get in the way (I guess the TL;DR is: yes, it's possible to write high-performance software in high-level languages, but it's often more effort, and may require to write unreadble and "non-idiomatic" code, because you need to "appease" the compiler much more than in a lower level language):

https://floooh.github.io/2018/05/01/cpp-to-c-size-reduction....

https://floooh.github.io/2016/01/14/metal-arc.html

Also let's not forget about build times.

There are no comments on this comment yet.