News for hackers. Stuff that matters.
Re:C++26 Disapproved by amelius on Wednesday November 04, 2026 @04:01AM (#50363015)
> compared to a language that is safe by default.

This also sounds pretentious ...

Re:C++26 Disapproved by NSUserDefaults on Wednesday November 04, 2026 @04:14AM (#50363081)
Because you think there is no such language, or even one that gets closer than C++? Look I still kind of like C++… for games. I would never put it in a fighter jet for gods sake.
Re:C++26 Disapproved by fps-hero on Wednesday November 04, 2026 @05:03AM (#50363407)
I don’t want to be inflammatory, so let’s stick to facts. The F35 is the manifestation of a test aircraft designed in the 90s. Of that era, software was predominantly single threaded, hardware definitely so. They also weren’t using the latest and greatest of hardware at the time, they opted for proven flight platforms with hardware dating back well back into the decade. So, very lacklustre performance, tight memory constraints.

The only other legitimate choice for writing software at the time would have been ADA, which for some reason never took off despite being purpose build for the application. Of that time, C++ was the new hotness, it was popular, it was solving architectural problems, and it was performant, unlike say Java.

It’s fairly naive to say “I’d never use C++”. The C++ programmers of the time would have looked at Fortran or COBOL with the same level of disdain. We are lucky to live in a time of better options, and the impending post code future.

Re:C++26 Disapproved by tialaramex on Wednesday November 04, 2026 @05:43AM (#50363715)
> The only other legitimate choice for writing software at the time would have been ADA

Ada makes a lot more sense for this work than C++ did twenty years ago.

Re:C++26 Disapproved by bluGill on Wednesday November 04, 2026 @08:59AM (#50365598)
Ada didn't make sense either: nobody wanted to learn it.
Re:C++26 Disapproved by SolarNet on Wednesday November 04, 2026 @10:50AM (#50367324)
There were schools of computer science, accredited universities, that taught it heavily (one of the 3 lab intro to programming languages next to c++ and python, and allowed to be used through the entire program at mine). A 1/3 of graduates of some of these places got jobs in it, because they were reliable and well paying jobs.

And then the industry swapped to C++. This was not a DoD mandate, this was companies like boeing trying to pay their engineers 1/3 to 1/2 less by paying for C++ devs (starting salary for ada devs was 90-140k, starting salary for c++ devs was 60-180k according to exit statistics). They of course eventually learned that good C++ devs are actually more expensive than their old Ada ones. Not that they bothered to hire good c++ devs.

Re:C++26 Disapproved by pjmlp on Wednesday November 04, 2026 @11:39AM (#50368120)
Yes we did, the major impediment was the price of available compilers, their dependency on UNIX workstations, where the Ada compiler was extra, on top of C and C++ that were already there.
Re:C++26 Disapproved by Maxatar on Wednesday November 04, 2026 @02:17PM (#50370233)
No it wasn't that nobody wanted to learn it, it's that back then Ada developers cost a lot more than C++ developers and businesses didn't want to pay them.
Re:C++26 Disapproved by drysine on Wednesday November 04, 2026 @05:55AM (#50363803)
>it [C++] was solving architectural problems

What do you mean?

Re:C++26 Disapproved by fps-hero on Friday November 06, 2026 @08:57AM (#50392352)
Think about the difference in how you would structure a program if it was coded in C++/Java vs C. C++ was an enabler of object oriented programming.
Re:C++26 Disapproved by drysine on Friday November 06, 2026 @04:27PM (#50398759)
About the same, I think)
Re:C++26 Disapproved by fps-hero on Sunday November 08, 2026 @08:39AM (#50413262)
I think what is obvious now wasn’t obvious then. If you think about how Linux and the open source community rallied around C, this was at complete odds to what was being taught at a university level. It’s a miracle C survived (if I only through new C++ programmers thoroughly rejecting its promise and sticking to “safe C++”). Even still, rust is a solution to memory lifetime problems with a modern toolset, it’s not solving ergonomic problems which is how you attract new developers. Similarly, ADA was a better language, probably pascal too, they didn’t win.
Re:C++26 Disapproved by NSUserDefaults on Wednesday November 04, 2026 @06:29AM (#50364145)
“Let’s use the new hotness for this new fighter plane” maybe puts things into perspective for me.