by bitops · 15y ago · 0 comments
For "mainstream" (read: enterprise) software, yes, C may fall out of favor, but it's a great language and here to stay.
There are just too many cases where C is the right tool for the right job and it would be silly to use a different language.
I'm thinking particularly of embedded software. While languages like Lua are great for embedded scripting, they still need something to script against.
So, C isn't going anywhere and I expect that 100 years from now it will still be a worthwhile language to program in.
(Also, C is very much the Latin of modern programming. Learning it helps your understanding of so many other things. In case you're curious, Lisp is Greek and I mean that affectionately).
What a depressing thought.
I love writing C code (the model of programming where virtually anything is possible by modifying and reinterpreting integers is often a fun one), and it's my best language, but I hope we grow out of it sooner than later.
Of course it's possible to write a lot of things in, say, Python, then rewrite the slow bits in C. The number of programs that absolutely must be written close to the metal is pretty small in absolute terms.
I often wonder what a more radical evolution of C might look like. What will "ISO C[20]99" look like? gcc has many clever compiler warnings, but a safer superset/subset language that is mostly source compatible might be valuable.