Top
Best
New

Posted by simonask 9 hours ago

C++ Needs to Catch Up(www.vinniefalco.com)
196 points | 197 commentspage 4
feverzsj 6 hours ago|
Yet, C++ is still the core language behind every AI/ML framework/system. Musk even said they rewrote Grok with full C++ stack, because "Real men manage their own memory".
roflcopter69 5 hours ago|
> Musk even said they rewrote Grok with full C++ stack, because "Real men manage their own memory"

RAII and std::shared_ptr left the chat

So real men use C and not C++, right ;) ?

(Gosh this is dumb)

kelseyfrog 35 minutes ago||
It not possible. C++ selects for very opinionated developers. It has to; being picky and choosy about the correct way to write C++ is how C++ devs survive in an environment that is at times actively hostile.

Strong opinions are a beneficial adaptation for the individual dev, but it results in very low group cohesion. No two devs agree, they're quick to point out flaws, and unwilling to accept things that are mostly good enough.

This is a disaster for a build system where judgement, tastefullness, and preference are even less clear than core language design. The trait that enabled developers to survive is actively working against their ability to collaborate as a group. You can see it here where 'this worked for me,' stories are met with hostility of, 'thats DOA.'

I don't see a way to turn that ship. It's a culture problem, not a technical one and solving social problems as if they are technical problems misdiagnosis the ailment.

dist-epoch 7 hours ago||
C++ is the walking dead. Like COBOL, it will live forever, but nothing new will be developed in it.
pjmlp 7 hours ago|
Depends in what gets to replace CUDA, LLVM, GCC,...
karel-3d 19 minutes ago||
Claude, write me a C++ package manager. Make no mistakes
fukaiall 1 hour ago||
Yeah lots of high-skilled C++ folks don’t really give a shit about borrow checker or RAII in Rust because they are already familiar with it in C++. It’s the ecosystem and package management part. If those Rust fanboys shut their fuck up then it is the most productive language now.
brettermeier 6 hours ago||
I'm glad that C++ always seemed too complex and old-fashioned to me, which is why I never really got into it. People used to think you'd be shooting yourself in the foot by not knowing it, since C++ was the mother of all programming languages. I think it's a good thing that turned out to be not true, and it is nice that no one has to use this outdated stuff for modern projects anymore.
mac3n 4 hours ago||
s/Catch Up/Die/
locknitpicker 8 hours ago||
As a long time professional C and C++ developer, I completely agree with the blogger's sentiment, particularly about Rust's value proposition. Contrary to the talking points parroted by the infamous Rust fanboy community, the borrow checker and vague notions of "security" are not Rust's key feature. What makes Rust stand out is it's improvements in developer experience. Part of this is Rust benefitting from decades of lessons learned in ergonomics and API design, part of it is providing a packaging system that is simple and just works.

If you make people's lives easier, they will use you to solve their problems. There is no merit in making life difficult.

The cliche is that the OS's package manager is C and C++'s packaging system. Whenever anyone wants a C++ library, they just run deb/apt/rpm/apk and they have it. But this sucks. Then there is Conan and the like, but they are far from dominant. So ultimately C amd C++ developers are faced with the prospects of having to distribute and consume their libraries as standalone source packages and build their own. This sucks.

Where in Rust you'll just cargo your way into a dependency. Easy.

gjvc 8 hours ago||
> If you make people's lives easier, they will use you to solve their problems. There is no merit in making life difficult.

The best (most far-reaching) lessons are the simplest ones, like this.

TuxSH 7 hours ago||
> The cliche is that the OS's package manager is C and C++'s packaging system. Whenever anyone wants a C++ library, they just run deb/apt/rpm/apk and they have it. But this sucks.

Almost as if OS/distro package managers were a bad idea in general

z3ratul163071 7 hours ago||
it will, the committee is asap scheduling to schedule the next meeting as early as summer of 2027. from there on it is smooth sailing with the new standard already ready as early as 2035!
attila-lendvai 9 hours ago|
i used to know everything about C++... what a waste!
drysine 9 hours ago|
Nobody knows everything about C++
attila-lendvai 7 hours ago||
fair enough. still a waste.
More comments...