3 ms·
>the web entirely runs on C++ because all browsers are written in C++. Not entirely true - Firefox is rewriting some components in Rust. They already included
by diegocg 10y ago
>the web entirely runs on C++ because all browsers are written in C++.
Not entirely true - Firefox is rewriting some components in Rust. They already included the first Rust code in Firefox 48, and Firefox 53 will require Rust to compile.
- mastax 10y agoIt's absolutely valid to say Firefox is written in C++. It has 3.7 million lines of C++ and 67,000 lines of Rust [0]. Even if Mozilla uses Rust for everything, it'll take much more than that for it to come anywhere near the popularity of C++. I say this as a Rust aficionado. [0]: https://gist.github.com/mattico/a5e5f9d58a3991d0e3e844e97fa0e3ad https://gist.github.com/mattico/a5e5f9d58a3991d0e3e844e97fa0...
- steveklabnik 10y agoFor the latest news on this, see https://www.reddit.com/r/rust/comments/618p54/webrenderer_landed_in_firefox_nightly_here_is_how/ https://www.reddit.com/r/rust/comments/618p54/webrenderer_la... That is, preliminary WebRender has landed, but is being done incrementally, so the gains aren't big yet due to some copying that won't be necessary in the long run. You're totally right that it's just a start. This stuff takes time!