Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Rust is not yet available on all Chromium platforms (just Linux and Android for now)

The beginning of this sentence didn’t surprise me, but the fact that it’s just Linux and Android did. Rust supports macOS and Windows really well, so I wonder what the gap is here?

> Facilities and tooling in Rust are not as rich as other languages yet.

Is this meant in the context of Chromium?



The amount of things that have to happen for a modification to the build environment for a target is more than just that the tooling exists and is supported on those platforms.

Picking just one piece: Consider that Chromium builds happen in a distributed build farm. There's multiple variants of this (goma, rbe). I'd imagine those systems would have to be modified to support the Rust toolchain for that target.

And it looks like this work is built around making GN/ninja support Rust, just using cargo directly. So that's what they likely mean by "not as rich as other languages yet."


AFAIK it took years for the Chrome code base to allow a different C++ compiler than MSVC for the Windows build (e.g. Clang is now supported too). It's not surprising that they don't provide Rust support for all platforms right from the start.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: