C++ is better suited to lower level operations than Go, C++ can have huge control over the environment (allowing it to be run on bare metal with no OS) while Go is limited due to it using a garbage collector
If there was a replacement for C++, the best bet IMO would be Zig
Before the memory safety craze, Rust was hyped as a functional programming language, meaning it not only has lambdas and monads, but also const by default, which will force you to rethink all your programming decisions. Also no classes, so you do even more rethinking.
Option 3 means that the Javascript standards team dies either way, right? Number 3. No hesitation.
the c++ team is a sacrifice I’m willing to make. can we just shoot Brendan Eich in the head if he’s not in there too?
C++ is obsolete now that we have Go
C++ is better suited to lower level operations than Go, C++ can have huge control over the environment (allowing it to be run on bare metal with no OS) while Go is limited due to it using a garbage collector
If there was a replacement for C++, the best bet IMO would be Zig
As someone who knows neither of the three: Why Zig over Rust as a Cpp replacement?
Rust has its own issues.
Before the memory safety craze, Rust was hyped as a functional programming language, meaning it not only has lambdas and monads, but also const by default, which will force you to rethink all your programming decisions. Also no classes, so you do even more rethinking.