I do not think C is going to completely go away. If nothing more, it will be used as an ABI, to glue various other languages together.
On the other hand, C is going to fade out, not just for memory safety issues, but also due to “language jank”. Usually language design choices that made sense on 60’s and 70’s mainframes, but no longer needed, and later languages tried to rectify them in their “C-influenced” syntax, but had the issue of also being much higher level than C.
Also Rust is just the most hyped replacement for C, and depending on your usecase, other languages might be much better. D has a very close syntax to C without the jank, expecially when used in the betterC mode.
I do not think C is going to completely go away. If nothing more, it will be used as an ABI, to glue various other languages together.
On the other hand, C is going to fade out, not just for memory safety issues, but also due to “language jank”. Usually language design choices that made sense on 60’s and 70’s mainframes, but no longer needed, and later languages tried to rectify them in their “C-influenced” syntax, but had the issue of also being much higher level than C.
Also Rust is just the most hyped replacement for C, and depending on your usecase, other languages might be much better. D has a very close syntax to C without the jank, expecially when used in the betterC mode.
Well COBOL hasn’t completely gone away… I don’t think anyone expects C to become completely extinct; just very legacy.
D missed its chance. Zig is clearly going to be the successor to C, for people who don’t want to use Rust.