this post was submitted on 18 Feb 2025
-8 points (42.0% liked)
Programming
18348 readers
192 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.