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

"I lied about my basic beliefs in order to keep a prestigious job. Now that it will be zero-cost to me, I have a few things to say."


We know that elite institutions like the one Flier was in (partial) charge of rely on irrelevant status markers like private school education, whiteness, legacy, and ability to charm an old white guy at an interview.

Harvard's discriminatory policies are becoming increasingly well known, across the political spectrum (see, e.g., the recent lawsuit on discrimination against East Asian applications.)

It's refreshing to hear a senior administrator admits to personally opposing policies that attempt to remedy these basic flaws. These are flaws that harm his institution's ability to do cutting-edge research and to serve the public.

Harvard is being eclipsed by institutions that have different ideas about how to run a 21st Century institution. Stanford, for one; the UC system; the "public Ivys".