News for hackers. Stuff that matters.
Re:The result of the C++26 DIS ballot by BonusPlay on Monday October 26, 2026 @04:25AM (#50240760)
C++ has lost touch with reality a few years ago. Modules, a feature 6 years old still only have partial support [1] and are nowhere to be seen in practical use. Good luck finding g a C++ library using modules.

This may be similar to Java vs Kotlin race, where Kotlin added improvements, while Java was still stuck in 1.8. The answer was to add as many features to the language as possible. Looks a bit like C++ is starting to do the same.

[1] https://en.cppreference.com/cpp/compiler_support

Re:The result of the C++26 DIS ballot by hasley on Monday October 26, 2026 @06:28AM (#50241641)
> The answer was to add as many features to the language as possible.

This is an exaggeration.

For me, C+11/C++14 made the language much more approachable and readable.

It was only that from then on, the language was to be updated regularly.

Re:The result of the C++26 DIS ballot by delta_p_delta_x on Monday October 26, 2026 @05:45AM (#50241329)
> Good luck finding g a C++ library using modules

There are, surprisingly, quite a few, including some very high-profile ones.

https://arewemodulesyet.org/projects/

Re:The result of the C++26 DIS ballot by BonusPlay on Wednesday October 28, 2026 @03:50AM (#50270396)
Only if you accept using random 2 star github repo (that may come with free supply chain attack) instead of the maintainer supplied one with 60k.
Re:The result of the C++26 DIS ballot by HackerThemAll on Monday October 26, 2026 @04:28AM (#50240782)
> The answer was to add as many features to the language as possible.

Because Java is losing market to languages with many features. Which is good. Given history of Java under Oracle supervision, and the availability of Rust, Go and C#, I won't ever touch any JRE-based language.

Re:The result of the C++26 DIS ballot by quikoa on Monday October 26, 2026 @05:30AM (#50241236)
Great, that means fewer bloated JVM based products will be released as well.
Re:The result of the C++26 DIS ballot by rwmj on Monday October 26, 2026 @05:34AM (#50241265)
Only on Hacker News. In the real world Java and C++ are absolutely everywhere and no one uses Rust.
Re:The result of the C++26 DIS ballot by lpapez on Monday October 26, 2026 @05:50AM (#50241365)
This. The discussions on this site are typically oblivious to this fact. I am desperately trying to persuade a corporate client to adopt version control and here people are talking about Rust. It's like we are living on different planets.
Re:The result of the C++26 DIS ballot by tialaramex on Monday October 26, 2026 @09:14AM (#50243071)
People who don't have version control in 2026 are not "everywhere" any more than people who still heat their home with a coal fire, or travel exclusively on horseback. Those people are weird. They do exist, but they're not "everywhere".

Rust is much less common than version control, but so is C++.

Re:The result of the C++26 DIS ballot by rwmj on Monday October 26, 2026 @11:20AM (#50245304)
I don't know about that. If you extend the scope to include Excel spreadsheet users, website designers, illustrators, writers and so on, version control is not common at all. Or they have something but it's a tragicomic parody of version control, such as what MS Word and Google docs provides.
Re:The result of the C++26 DIS ballot by tialaramex on Monday October 26, 2026 @02:19PM (#50248439)
That's a fair point, but now we're back to actually Rust makes better sense than C++ because the difference is much more stark if you're not already a programmer.

Some of the craziest things about C++ metastasised and are now everywhere in programming, so they don't seem as crazy - but if you're a non-programmer they will still be crazy in C++ and Rust doesn't have them.

For example why does "const" mean immutable? In Rust it means constant, like you'd expect. Why is "Hello" six units of storage space? In Rust it's five, because duh. Why does passing this HugeDoodad into a function expensively copy the HugeDoodad? In Rust it doesn't do that.

Re:The result of the C++26 DIS ballot by peterfirefly on Monday October 26, 2026 @12:32PM (#50246610)
I don't think you live anywhere close to the normal world. It's like saying "all my friends have phds". I mean, don't everybody know three languages and basic multivariate calculus?
Re:The result of the C++26 DIS ballot by simonask on Monday October 26, 2026 @06:01PM (#50251702)
I have not in 20 years encountered a single company producing software, be it their primary product or a supporting role, that didn't use version control.

This was a thing in the early 2000s, but very certainly hasn't been the norm for a very long time now, at least in my part of the world.

If it's different where you are, you need to take immediate action and inform your company leadership of this extreme liability.

Re:The result of the C++26 DIS ballot by peterfirefly on Friday October 30, 2026 @07:13PM (#50311357)
Selection effects are real.
Re:The result of the C++26 DIS ballot by bw86 on Tuesday October 27, 2026 @06:49AM (#50257166)
https://xkcd.com/2501/ - of course there is an xkcd comic for this :)