4 ms·
My understanding is that Servo was more experimental research, with an eye towards possibly being integrated at some point.
by Shared404 6y ago
My understanding is that Servo was more experimental research, with an eye towards possibly being integrated at some point.
- gilrain 6y agoExcept multiple parts of it had already been integrated into Firefox, providing its most recent performance gains (Webrender, Stylo).
- stuaxo 6y agoYes, they were developed in Servo first, then brought over when mature. I wonder if this is the end of that model, or more an effort to get external people to contribute more to Servo.
- dralley 6y agoBased on their public communications, it's the former. They want to focus on rustifying Firefox directly rather than trying to integrate massive chunks of Rust code written in an external project.
- brabel 6y agoDoes Firefox have any Rust component at all if Servo is not apparently used at all by it, currently? People have been claiming Firefox components were written in Rust for ages, usually meaning Servo, but it seems now that those claims were just misleading.
- coldtea 6y agoThey weren't misleading, and they didn't mean servo. Several Firefox parts are written in Rust. Stylo is the most famous, here's a list of various parts that have already shipped, and others that were/are in progress... https://wiki.mozilla.org/Oxidation https://wiki.mozilla.org/Oxidation
- jfk13 6y ago> Does Firefox have any Rust component at all Yes, lots (and increasing). E.g.: https://searchfox.org/mozilla-central/source/servo/components https://searchfox.org/mozilla-central/source/servo/component... https://searchfox.org/mozilla-central/source/gfx/wr https://searchfox.org/mozilla-central/source/gfx/wr https://searchfox.org/mozilla-central/source/third_party/rust https://searchfox.org/mozilla-central/source/third_party/rus...
- SimonSapin 6y agohttps://wiki.mozilla.org/Oxidation#Rust_Components https://wiki.mozilla.org/Oxidation#Rust_Components is probably the most up to date
- jcranmer 6y agoThe first Rust component in Firefox was the URL parser, followed by the MP4 metadata arser for audio. Then the charset conversion component was rewritten in Rust, and then some other tiny components. And then Firefox imported Stylo (the CSS parsing and rendering) from Servo as the biggest Rust component yet. The Web Assembly portion of the JS engine is shifting to cranelift (written in Rust) as its backend, another massive component, but I don't believe it has done so in a released browser version yet. In general, a lot of text handling, and parsing in general, is moving to Rust, although some code is moving far more slowly than others. Additionally, APIs that had been implemented in JS that are too slow (or memory-heavy) are being moved to a Rust implementation instead, such as the l10n implementation.
- deleted 6y ago[deleted]