Why Fighter Jets Ban 90% of C++ Features

Published at : 23 Dec 2025

A single unhandled exception destroyed a $500 million rocket in seconds.

The F-35 wasn't going to make the same mistake.

By carefully slicing C++, engineers created one of the strictest coding standards ever written.

This...is Programming Like a Fighter Pilot.

In this video, we dive into the history of software in aircraft, the (thousands!) of programming languages the Pentagon had to deal with, and perhaps the wildest of all, the JSF (F-35) C++ standard.

---

Timestamps:
00:00 History of Software in Flight
08:27 The Pentagon and C++
12:56 Flying (Simulated) F-35s
17:58 No Exceptions?
23:47 Recursion + Cyclomatic Complexity
26:26 Memory (Pre)allocation
30:51 Future of Safety Critical Software

---

Check out my X account for cool Computer Science stuff!
https://x.com/lauriewired

---

My GitHub of all example code:
https://github.com/LaurieWired/XplaneFlightData

---

You can check out the REAL F-35 C++ Coding standard here (it's public!):
https://www.stroustrup.com/JSF-AV-rules.pdf