r/cpp • • 16d ago

What really kills C++

https://a4z.noexcept.dev/blog/2026/11/15/what-really-kills-cpp.html
The C++26 ballot failed, and everyone is arguing about contracts and the future of C++. I think we're worried about the wrong thing.
0 Upvotes

68 comments sorted by

View all comments

Show parent comment

5

u/CreativeAlbatross319 16d ago

Standard tooling is always a short-sighted idea. Imagine C++ shipped a standard build system and a standard package manager in the beginning, I'm pretty sure it wouldn't have been as good as CMake/Ninja or conan/vc package. And we wouldn't have Bazel, xmake, etc. Standard tooling kills the competition to make things better in the long term.

And it also violates the oldest Unix philosophy: Do one thing and do it well. A programming language standard should be nothing more than a language. A build system should just be a build system.

If you want to have some examples. Well, there is python for its build system and javascript for its package manager. Give it another 20 years, Swift/Go/Rust will be exactly in the same bad spot.

7

u/SemaphoreBingo 15d ago

And it also violates the oldest Unix philosophy: Do one thing and do it well

The unix philosophy is honored more in the breach than the observance, which is why modern versions of mv let you "move" a file across filesystems, even tho this is actually a copy.

Well, there is python for its build system

I'm not sure this is the example you think it is. In 2026 the python build system has largely congealed onto pyproject.toml, but for many many years the nicest thing you could say about python and build systems is that sometimes a package would have one that might be usable.

javascript for its package manager

Don't they have multiple competing package managers?

3

u/James20k P2005R0 14d ago

For me it seems like the trick is to have standardised tooling, which you can sidestep when you need to. People generally quite like Cargo, and I think for fairly good reason

I suspect if C++ standardised cargo's interface, people would be cheering in the streets. Though really the problem comes down to funding, and who'd implement it for what money. You could always standardise buildsystem2 down the line if it turns out to have problems

And it also violates the oldest Unix philosophy: Do one thing and do it well. A programming language standard should be nothing more than a language. A build system should just be a build system.

The issue is that while its a clean idea theoretically, there's a tonne of overlap between them in practice which necessitates tight integration I suspect. Eg code completion in your IDE is done by a compiler, so really to do it properly it needs to have input from your build system, and then when you get into modules it gets more tightly integrated

Fundamentally someone needs to own the coupling between all those different components, which currently nobody does - and its why everything is such a mess here in my opinion

0

u/jeffmetal 15d ago

you reference JavaScript as an example. A example of what exactly ?

If the language designs things with no thought to how the build system uses it your going to have a terrible user experience. They are interconnected and should be treated as such.

4

u/CreativeAlbatross319 15d ago

Do I really need to mention THAT javascript package manager? Well, I should have said Nodejs.

Regarding your second point, no, I just don't think so. It may be a bad experience for a beginner, but absolutely a great experience for long time users. We usually call this a steep learning curve.