this post was submitted on 02 Dec 2023
13 points (100.0% liked)
C Programming Language
993 readers
1 users here now
Welcome to the C community!
C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.
- irc: #c
๐ https://en.cppreference.com/w/c
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just about every language is written in C. Even GW-BASIC was written in C (most BASIC interpreters were written in assembly code at the time).
When all the code was being rewritten for Y2K, C was used because it was really the only language that was portable at the time, you could write the program on a PC, and then compile and configure it on a mainframe, or vice versa.
A more pertinent question would be what isn't wriiten in C.
Critical software, like interfaces, machine operation or database systems, are generally not written in C. That's because C code can be dense and obscure. If the original programmer retire or goes missing, and the system crashes, no one else may have a clue what they've actually coded. So a more explicable, higher level language is used and C is quarantined to use in system software where its power and access is useful.