r/cpp • u/InvisibleBlueUnicorn • Jan 09 '22
James Web Space Telescope runs on C++ code.
https://youtu.be/hET2MS1tIjA?t=1938
733
Upvotes
r/cpp • u/InvisibleBlueUnicorn • Jan 09 '22
View all comments
Show parent comment
16
u/ElijahQuoro Jan 09 '22 edited Jan 09 '22
C doesn’t have some standardised ABI and doesn’t even specify what ABI is. C becoming a common denominator is a historical thing. I don’t really see, why C++ couldn’t in principle become the language for writing OS kernels apart from the prejudice against it. And since C++ is committee driven: no push - no progress in that direction.
So, I sort of agree with you, if I had to start writing an OS kernel, I’d choose C. My main point is, C++ doesn’t really deserve all the hate it gets. (Edit: certainly deserves some)
C becoming the lingua franca was based purely on thesis: it’s good enough, let’s freeze it in strict backward compatibility and capitalise on top of it.