DEV Community

Discussion on: Will Carbon language replace C++ fully in the future ?

Collapse
 
cicirello profile image
Vincent A. Cicirello

I'm not familiar with Carbon. But despite that, this is an easy one to answer. No. Nothing will fully replace C++ in the future. There are at least 5 programming languages that I see remaining widely used indefinitely: C, C++, Java, JavaScript, and Python. I alphabetized them to avoid emphasizing any over the others. There might be others I'd add to this list if I thought about it more. These are also not my 5 favorite languages. For example, I dislike JavaScript but it isn't going anywhere in the foreseeable future. And C++ was once my preferred language, but anything I would have used it for in the past, today I'd turn to Java. But that is just me, I personally replaced C++ with something else, but C++ will continue to stick around.

Java won't be replaced by Kotlin or any other JVM language, unless the JDK maintainers decide to migrate the JVM to a KVM. This is unlikely. And even if that happened, there are a ton of widely used Java libraries and with full-interoperability of Java and Kotlin and some other JVM languages, such libraries will remain relevant.

C++ didn't replace C, and others that aimed to also did not. C is still widely used in embedded systems, and some other domains. And C is at the heart of some other widely used languages, such as Python (e.g. CPython).

As a faculty member, I often talk to recruiters from industry about what they are looking for from graduating students. Much of what they say is more often the soft-skills (e.g. communication), even more so than tech skills. But the 2 programming languages I hear most are Java and C++. Rarely both from the same company. But in most cases they are fine with the other of the 2 for entry level if the student is motivated to learn the other, and if their communications and team-work and other soft skills are strong.

Collapse
 
tipseason profile image
Tip Season

Great insights. Thanks for detailed answer