3 ms·
> Is C all that commonly used these days? I rather suspect that it's an unforced error to start a new project in C, and that many wise organisations are replaci
by jly 10y ago
> Is C all that commonly used these days? I rather suspect that it's an unforced error to start a new project in C, and that many wise organisations are replacing buggy C software with slightly-less-buggy software in safer languages.
It most definitely is. Outside of the fact that existing huge projects are written in C (Linux, many compilers/toolchains, databases, etc), it remains the default language for embedded systems. Most smaller embedded device (think Cortex-M class) is running code written in C. This represents an enormous amount of projects spread over dozens of industries and use cases. Someday that may change but right now even C++ has failed to gain traction in these environments.
> Seriously, in 2016 it's obvious that C is just wrong.
This is not true. It all depends on your use case. C is the most well-understood language on the planet - a sort of defacto default. Practices, processes, and tools have been developed over decades to help mitigate problems, often in systems that run for years without SW updates. This can't be discounted.
- pjmlp 10y agoHence why the CVE database gets updated daily with memory corruption exploits.