Hacker News new | ask | show | jobs
by bdd8f1df777b 961 days ago
Google claims that Carbon is the future internally at Google for a safer C++, and Google never approves Rust for internal usage. Then I see multiple public announcements of Google rewriting something in Rust (such as the recent Binder rewrite). I'm quite confused.
3 comments

Completly false, the Carbon project folks are quite clear it is an experimental language, and anyone not having legacy C++ codebases should use Rust, or a manage language, if their requirements can cope with automatic memory management.

Android, ChromeOS and Fuschia already use Rust, and Chrome is in the process of getting the first Rust libraries integrated.

For the most part, Rust projects at Google tend to be things that are relatively self-isolated (like the Binder rewrite). Google has a huge monorepo with tens of millions of lines of C++ code, much of which is highly interlinked and interdependent. The goal of Carbon is to help move that code to a simpler and safer programming model.
> Google never approves Rust for internal usage.

deeply incorrect.

Also you'd have to wonder what https://google.github.io/comprehensive-rust/ is for.

Like, if Google "never approves" why are they designing a course to teach this, and paying outsider trainers to teach their staff ?