points by orphereus 4 days ago | 0 comments
How did C/C++ get into ISO? Why are they "special" compared to other languages?
Just because they are old and ubiquitous in all systems programming?
The whole design committee procedure around these languages feels like a bureaucratic nightmare, again compared to other languages, especially Rust.
[–] jll29 4 days ago
[–] bobmarleybiceps 4 days ago
I think before I was born, there was just a ton of (closed-source) C compilers for different systems. So people were like "we should have a standard, so our safety critical application doesn't break when we decide to use a <new hardware vendor's> C compiler."
I also think since compiler infrastructure has improved so much, and everything is open source now ... so idk if it matters as much anymore.
[–] drnick1 4 days ago
> Why are they "special" compared to other languages?
The world basically runs on C.
[–] anthk 3 days ago
1) C is no C++, C89 and C99 are good enough for legacy/embedded systems.
Also, C is the Ur example for anything. The golden standard. Like English
for business and STEM. Not the best language, maybe, but it runs everything
technical.
2) C++ it's a monster which should died long ago.
3) Go should take the role of small tools such as some services and mail/IRC clients, especially for CLI/TUI. Or stuff like urlview. Rust the big ones (media encoding, PDF libraries, browsers...)
4) Unreal 6 will ditch c++. Good riddance.
[–] cestith 4 days ago
There are a number of ISO-standardized languages.
https://en.wikipedia.org/wiki/Category:Programming_languages...
[–] smallstepforman 4 days ago
It makes big companies and gov bodies happier since and code investment is guaranteed to run with competitors tool chains. You’re not locked in to one vendor, it is an international spec.
[–] colejohnson66 3 days ago
Until you want to do something as simple as export a function from the dll/so. The syntax and stdlib may be standardized, but that's not enough to make a language portable.
[–] ricardobeat 4 days ago
Isn’t Rust also suffering from committee deadlock for the past couple years?
[–] tcfhgj 4 days ago
Could you expand? You seem to know more
[–] ricardobeat 3 days ago
I don't actually, not a Rust user. Just something I've read about.
The main driver is a group of people willing to submit the necessary documents to ISO (or national bodies like ANSI or DIN or even IEEE, and then ISO may also adopt existing standards as theirs).
COBOL, FORTRAN and Pascal are all ISO Standards [1,2,3].
[1] https://www.iso.org/standard/74527.html
[2] https://www.iso.org/standard/82170.html
[3] https://www.iso.org/standard/13802.html