5 ms·
Four answers: No, C (and C++) is used as much as ever. HN echo chamber aside, Rust and/or Go haven't made much of a dent. No, we had such articles for decades
by coldtea 10y ago
Four answers:
No, C (and C++) is used as much as ever. HN echo chamber aside, Rust and/or Go haven't made much of a dent.
No, we had such articles for decades.
No, it's just an article that points some issues with C, like exist for every language and environment (e.g. tons of articles on JS shortcomings). No correlation whatsoever with such an article and the language falling out of mainstream use.
No, this is a bizarro question. It's an article by single person, not some general trend.
- dagw 10y agoNo, C (and C++) is used as much as ever Is this really true, especially for C? Lots of things that used to be done in C is today done in C++ and lots of things that used to be done in C++ is today done in Java or C#.
- TickleSteve 10y agoIn the embedded world, the default language is still C by a wide margin. You have to argue hard to have C++ considered and languages like Rust&Go just aren't on the radar. Only in HN world is C considered legacy. For the rest of the world, its the well-known workhorse of the software world.
- dagw 10y agoFor the rest of the world, its the well-known workhorse of the software world. But it's a workhorse that's continually being replaced. I'm not talking about Rust&Go. I'm talking about C++/Java/C#. Thinking about C projects I saw 15-20 years ago, hardly any of them would be written in C if they where started today. And even in the embedded world C++ is becoming more and more of a thing. Is C used, of course. Is C going away, of course not. Is C "used as much as ever", I just don't see it.
- TickleSteve 10y agoThe number of devices with embedded software is growing all the time. These devices are 99% of the time using C. ...therefore the number of C projects is growing, not shrinking.
- kbart 10y agoI can confirm that. I write C for embedded systems every day, but for better or worse, I don't see any replacement for it in foreseeable future. C++, Python, Java etc. might be used at higher levels (GUI, for example), but all the guts are still good, old, plain C. Rust is still in its infancy so it's hard to tell and even if it succeed, it will be evolution, not revolution and will take decades to replace C fully. HN is a bit of echo chamber as mostly SaaS, web and other high level application developers are here. For them C might be dead as well, but if you have anything to do with hardware and system programming, C is still the tool.
- coldtea 10y agoWell, it's second after Java in TIOBE, which, while not perfect, it checks multiple data points, so it's better than most attempts at guesstimation: http://www.tiobe.com/tiobe-index/ http://www.tiobe.com/tiobe-index/ It's #8 on GitHub in projects per language: http://githut.info/ http://githut.info/ And #18 on Stack Overflow: http://stackoverflow.com/tags http://stackoverflow.com/tags (and I'd say most C projects are not as likely to go to GitHub compared to JS or Javascript ones. And C programmers are not exactly the type to ask questions on SO, compared e.g. to some language where one can be an "eternal newbie". >Lots of things that used to be done in C is today done in C++ and lots of things that used to be done in C++ is today done in Java or C#. Lots of things that are done by Java or C# where done by other languages back in the day too. Visual Basic for enterprise apps that are now a web Java/C# frontend, Delphi, 4GL platforms, Clipper, Visual FoxPro, etc. Even games were written in assembler for most of the eighties too.
- steveklabnik 10y ago(GitHut's data is from 2014)