News for hackers. Stuff that matters.
Re:The C++ standard for the F-35 Fighter Jet [video] by tgv on Sunday December 07, 2025 @02:28PM (#46184322)
In C, tail recursion is a fairly simple rewrite. I can't think of any complications.

But ... that rewrite can increase the cyclomatic complexity of the code on which they have some hard limits, so perhaps that's why it isn't allowed? And the stack overflow, of course.

Re:The C++ standard for the F-35 Fighter Jet [video] by AnimalMuppet on Sunday December 07, 2025 @02:49PM (#46184519)
I don't know that it's just cyclomatic complexity. I think it at least part of it is proving that you meet hard real-time constraints. Recursion is harder to analyze that way than "for (i = 0; i < 16; i++) ... " is.