18 ms·
You are lucky if you only encountered this recently. We might not like C, but C is not going away anywhere.
by sigjuice 5y ago
You are lucky if you only encountered this recently. We might not like C, but C is not going away anywhere.
- ncmncm 5y agoC is, in fact, going away, in many, many places. E.g. Gcc and Gdb are nowadays compiled with G++, and new code in them is C++. It is very easy to start this process in just about any C program, so it happens many times every day, all over the world, with little notice because the bump is unfelt.
- sigjuice 5y agoThat does not count as “going away”. Sure, newer functionality may be done in C++, but it is unlikely that all C code will disappear from the gcc and gdb codebases. The older versions of things written in C will still be around and remain in production.
- ncmncm 5y agoThe production of new C code is going away in many places that have a lot of old C code. In each project that converts to compiling with a C++ compiler, the new code is C++. Old C code hangs about, but is looked at less and less; soon, nobody wants to look at any of it. Parts get wholly rewritten in C++ when it seems like they might otherwise need much attention. If it is meaningful at all to talk about a language going away, it is about a decline in writing new code in it. Obviously all the code written in badly obsolete languages still exists, somewhere, but the demand for people to write any more of it falls at an increasing rate.