News for hackers. Stuff that matters.
Re:Talking with the Inventor of C++ by jandrewrogers on Sunday December 03, 2023 @01:54AM (#38505378)
It isn’t as hard as people make out but it also isn’t easy. The saving grace is that the language, particularly in its modern form, is highly amenable to an experienced user designing their own libraries that make the language much nicer to use. You can replace most of the dubious parts. Nonetheless, C++ is unreasonably large.

The main advantage of something like C++20 is that for some types of software there is no other language that comes close in both performance and economy. The alternatives either require much more code or giving up a lot of performance, neither of which is particularly palatable for many use cases. I am always keeping an eye out for smaller languages with similar economy and performance.

Re:Talking with the Inventor of C++ by Buttons840 on Sunday December 03, 2023 @06:24AM (#38506265)
Can you give an example of replacing a dubious part? I'm not sure what you mean.
Re:Talking with the Inventor of C++ by zozbot234 on Sunday December 03, 2023 @07:07AM (#38506482)
> The main advantage of something like C++20 is that for some types of software there is no other language that comes close in both performance and economy.

Um, there are plenty of Crab People[0] around here who would quibble with that statement.

[0] https://en.wikipedia.org/wiki/Crab_people of course.