News for hackers. Stuff that matters.
Re:The C++ standard for the F-35 Fighter Jet [video] by msla on Sunday December 07, 2025 @02:45PM (#46184472)
At that point, why not write in C? Do they think it's C/C++ and not understand the difference?

> no recursion

Does this actually mean no recursion or does it just mean to limit stack use? Because processing a tree, for example, is recursive even if you use an array, for example, instead of the stack to keep track of your progress. The real trick is limiting memory consumption, which requires limiting input size.

Re:The C++ standard for the F-35 Fighter Jet [video] by mwkaufma on Sunday December 07, 2025 @03:43PM (#46184960)
Re: recursion. She explains in her video. Per requirements, the stack capacity has to be statically verifiable, and not dependent on runtime input.
Re:The C++ standard for the F-35 Fighter Jet [video] by mwkaufma on Sunday December 07, 2025 @03:00PM (#46184605)
For a long time, at least in MS and Intel, the C++ compilers were better than the C compilers.
Re:The C++ standard for the F-35 Fighter Jet [video] by drnick1 on Sunday December 07, 2025 @04:38PM (#46185419)
You may still want to use classes (where they make sense), references (cleaner syntax than pointers), operator overloading, etc. For example, a linear algebra library is far nicer to write and use in C++.
Re:The C++ standard for the F-35 Fighter Jet [video] by jesse__ on Sunday December 07, 2025 @07:21PM (#46186889)
Function overloading is nice, too
Re:The C++ standard for the F-35 Fighter Jet [video] by billforsternz on Sunday December 07, 2025 @08:55PM (#46187438)
Semi serious idea: A lot of people (including me) write C++ but it's basically C plus a small set of really ergonomic and useful C++ features (eg references). This should be standardised as a new language called C+
Re:The C++ standard for the F-35 Fighter Jet [video] by zeroc8 on Monday December 08, 2025 @05:43AM (#46190794)
That probably would see more success than the monster they've created. I've been out of the C++ world for a while, but I hardly recognize the language anymore.