Google has released a new language called Carbon.

What is it? 🧵

It's similar to what TypeScript is to JavaScript.

JavaScript → TypeScript
Objective C → Swift
Java → Kotlin
C → C++

Similarly:

Carbon → C++
What about Rust?

Well, if Rust works for you today, keep using it.

But moving a C++ ecosystem to Rust is hard.
A good successor language
- Builds on the current ecosystem
→ Without bootstrapping a new one
- Provides bi-directional interoperability
- Optimizes the learning curve + adoption
- Ideally has tool-assisted migration support
Carbon has all of that 👆

That makes it an excellent experimental successor to C++. I especially like the migration support and easier syntax.
Carbon goals as a successor language
• Performance-critical software
• Software and language evolution
• Code that is easy to read, understand, and write
• Practical safety and testing mechanisms
• Fast and scalable development

There's more ↓
• Modern OS platforms, hardware architectures, and environments support
• Interoperability with and migration from existing C++ code — use C++ in Carbon and Carbon in C++.
I hope you learned something new today.

Follow this guy for more → @MrAhmadAwais 🙌

Like the content? Retweet the first tweet for signal. Let's go.
https://t.co/hjAMyovrbh

More from All

You May Also Like

These 10 threads will teach you more than reading 100 books

Five billionaires share their top lessons on startups, life and entrepreneurship (1/10)


10 competitive advantages that will trump talent (2/10)


Some harsh truths you probably don’t want to hear (3/10)


10 significant lies you’re told about the world (4/10)