It's stopped evolving and can't really shine in any of today's domains.
It will still be around for decades, but mostly as legacy. I.e: not anything which is required to be learned.
It's stopped evolving and can't really shine in any of today's domains.
It will still be around for decades, but mostly as legacy. I.e: not anything which is required to be learned.
There's also those that misguidedly use C when they shouldn't (e.g to speed up Python code). It's unfortunate, but such is C's siren song - mesmerizing one with promises of speed only to be dragged into the depths of undefined behavior.
Here's what I know:
* AI / ML can be done in many languages, but no one's seriously considering C, despite the performance requirements. C++ is sometimes used.
* self-driving companies are hiring for C++.
* Mobile is Swift / Kotlin with C++ for performance-intensive code where appropriate.
* Web is anything except C and C++ (thankfully)
* Game development is C++
* The enterprise has switched to web technologies or is still using Java/.net.
* The desktop varies, but it's mostly .net / Swift + Obj-C / C++, with the exception of gnome perhaps, which I'd argue is an anomaly.
C is still holding on in kernels and low level embedded, where it's expected that C++ and maybe Rust will continue to squeeze it.
Personally I don't care that much about the above two. Banging the same bits for decades gets tiresome.
I'd go into this more but I don't feel like explaining these things to people ad nauseum. C is one of the most used languages around the world, in new projects, too, and nothing you've said changes that.
Some of the things I listed are C++, which is a different language, which kept evolving unlike C and also unlike C is in demand today for all sorts of hot domains. The two can't be mixed.
But in a way, you may be right ... all the critical new lower level programs like web servers are now mostly written in Go, Rust and C is not favourably considered for them ...
> misguidedly use C when they shouldn't (e.g to speed up Python code)
The Python virtual machine itself uses C to speed up Python code. Python's compiler is even written in C instead of being properly self-hosted.