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

1

From today, we will memorize the names of 27 Nakshatras in Vedic Jyotish to never forget in life.

I will write 4 names. Repeat them in SAME sequence twice in morning, noon, evening. Each day, revise new names + recall all previously learnt names.

Pls RT if you are in.

2

Today's Nakshatras are:-

1. Ashwini - अश्विनी

2. Bharani - भरणी

3. Krittika - कृत्तिका

4. Rohini - रोहिणी

Ashwini - अश्विनी is the FIRST Nakshatra.

Repeat these names TWICE now, tomorrow morning, noon and evening. Like this tweet if you have revised 8 times as told.

3

Today's Nakshatras are:-

5. Mrigashira - मृगशिरा

6. Ardra - आर्द्रा

7. Punarvasu - पुनर्वसु

8. Pushya - पुष्य

First recall previously learnt Nakshatras twice. Then recite these TWICE now, tomorrow morning, noon & evening in SAME order. Like this tweet only after doing so.

4

Today's Nakshatras are:-

9. Ashlesha - अश्लेषा

10. Magha - मघा

11. Purvaphalguni - पूर्वाफाल्गुनी

12. Uttaraphalguni - उत्तराफाल्गुनी

Purva means that comes before (P se Purva, P se pehele), and Uttara comes later.

Read next tweet too.

5

Purva, Uttara prefixes come in other Nakshatras too. Purva= pehele wala. Remember.

First recall previously learnt 8 Nakshatras twice. Then recite those in Tweet #4 TWICE now, tomorrow morning, noon & evening in SAME order. Like this tweet if you have read Tweets #4 & 5, both.