Harald Says Rust and Carbon are NOT in the same League!
Hi, about Carbon, the new lang Google presented
Rust is not in the same field.
Carbon can be mixed with C++, and has similar performance as C++. This is not possible with _any other language_. You can not mix Rust and C++, you would need some C bridge (and thus, lose info and need some workarounds)
Apple/Swift was announcing some C++ interopt, please see
https://forums.swift.org/t/swift-and-c-interoperability-workgroup-announcement/54998
and
https://github.com/apple/swift/blob/main/docs/CppInteroperability/CppInteroperabilityStatus.md
I am not sure where Apple/Swift is/will be going with that, but it will be interesting to watch, maybe they have a similar reason like Google with Carbon?
For Carbon, I thing the use case is clear.
You (Google) can have your multi million lines C++ projects, and port gracefully and over time to Carbon, which is a language promising the same performance characteristics like C++ has. Googles C++ compiler engineers who also invent and implement Carbon compiler can guarantee that.
The inter-opt has of course limits, and will not work where llvm is not an option. But this is probably not Googles use case. I can imaging, Carbon will work awesome for Google's gigantic huge C++ code base, and over time there will be a ROI for Google. If Carbon is useful for projects outside of Google, why should they care, beside marketing ? ;-)
There would of course be more to say, but I feel I wrote already too much ...
Sorry for being so verbose, but you asked for feedback to the topic :-)
Best regards, and huge thanks for your awesome show!
Harald