DEV Community

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

Collapse
 
joelbonetr profile image
JoelBonetR 🥇 • Edited

Reading other comments I'll approach this question from a different point of view
Let's imagine that we actually want to replace C++ with Carbon and see what we'd need to reach that target.

Google and Microsoft are major users of and contributors of C++, which is used mainly to develop Operating Systems (partially), Browsers, Games, embedded systems and critical building blocks of large systems. It also can be used for -partial- Android App Development using the Android NDK and much more.

Hence we'll need to re-build from scratch tones of tools in Carbon first; From Unreal Engine to Google Chrome or MS Edge, also provide enough frameworks, libs and tools to cover the enormous ecosystem that has been built around C++ all those years.
Then we just need to convince everyone (an absolute majority will suffice) using C++ that learning Carbon is a good choice and that they should ditch apart the experience they already have in C++'s core API to use something new which is -allegedly- better.

TL;DR: That's -most probably- not gonna happen, but we'll see how it evolves. I honestly think that even Google isn't replacing C++ for Carbon in it's systems, at least for a long time.

Collapse
 
tipseason profile image
Tip Season

Certainly true and thanks for the detailed answer. Not supporting yes or no but am just curious - If major companies start adapting Carbon convincing to learn should not be a blocker right ?