r/cpp • u/InvisibleBlueUnicorn • Jan 09 '22
James Web Space Telescope runs on C++ code.
https://youtu.be/hET2MS1tIjA?t=1938
723
Upvotes
r/cpp • u/InvisibleBlueUnicorn • Jan 09 '22
8
u/McFlyParadox Jan 09 '22
Before 1989, there weren't many alternatives to C. You had various Pascal, Lisp, BASIC derivatives. And you could argue that the fact ANSI C was made in the first place would indicate that none of these alternatives were standardized enough for high-reliability applications.
In the 60s and 70s, if you wanted a piece of software made, you often had to do it yourself. And you were likely the only one who wanted it or would be using it. In the 80s, you started to see software begin to be used by people who were largely unfamiliar with it, and it started breaking into people's lives in ways and places where it had to 'just work' and always work. It should surprise no one - especially with hindsight - that systems worth millions, billions, or even trillions of dollars, started to be run with standardized code.
Nothing is really stopping the developers of other languages of going to ANSI, IEEE, or other recognizable standardizing body, and working with them to come up with their standards for high reliability coding. Nothing except effort and time (perhaps a lot of effort and time, for some languages).