5 ms·
Very cool. What parts of Servo are already in Firefox? What is missing? Is there a list of what will get into Firefox over time?
by k__ 9y ago
Very cool.
What parts of Servo are already in Firefox? What is missing? Is there a list of what will get into Firefox over time?
- NiLSPACE 9y agoThere is a wiki page about Project Quantum: https://wiki.mozilla.org/Quantum https://wiki.mozilla.org/Quantum Currently Quantum CSS (Stylo) and Quantum Render (Webrender) are both in Firefox Nightly, but they are unstable and can cause really bad performance, especially Quantum Render. They won't be done until at least Firefox 57 and some most likely later. Quantum Compositor is in Release already I believe. It's the out of process compositor for Firefox. Changes from Quantum Flow are continuing to be implemented into Nightly and later on Beta. I haven't ready much about the progress around Quantum DOM, and I have no idea for which release it is targeted.
- k__ 9y agoDo I get this right. Servo is the experimental browser (engine?)? Quantum is the project that ports parts of Servo to Firefox over time?
- sp332 9y agoRight. Servo is an engine that will be embeddable into apps that need to render HTML, not just browsers.
- mintplant 9y agoQuantum is now also a bit of an umbrella project for initiatives making Firefox faster. "Quantum Flow", for example, is an engine-wide effort to push performance in the bits that still C++.
- infogulch 9y agoWhoa I didn't know webrender was shipping on nightly already, even if it's unstable.
- NiLSPACE 9y agoCurrently with Webrender enabled Firefox renders it both on Webrender and the old renderer which causes it to be really slow.
- infogulch 9y agoI see, that would explain the performance issues. Why is it set up like that?
- steveklabnik 9y agoMy understanding is that WebRender doesn't support everything yet, so right now it's mostly about validating correctness.
- k__ 9y agoSo it renders it two times and compares the results?
- Manishearth 9y agoIt renders it in series -- stuff goes through webrender first, and then whatever webrender couldn't handle gets dealt with with the regular renderer.
- infogulch 9y agoAh I see, so it basically enables a parallel run of webrender to gather compatibility/correctness stats.
- metajack 9y agoThere's a lot of refactoring to do in Gecko's graphics stack to fit the new rendering model. While they do that, they can also accelerate one thing at a time with WebRender, testing incrementally. Things like SVG which WebRender doesn't have yet, can also use the old system and be included in WebRender as images. The old system will still be needed post-WebRender for printing at the very least.
- Manishearth 9y agoWe have: - Stylo, built by default, off by default - Webrender, built by default, off by default, current pref makes it render things through both engines. - rust-url for url parsing, built by default, off by default, current pref makes it parse through both parsers and compare. I intend to bring this across the finish line once done with stylo - encoding_rs for dealing with string encodings. built and on by default. Not exactly a servo component (servo used to use rust-encoding), but i think servo uses it now.
- hsivonen 9y agoA GitHub search suggests that Servo isn’t using encoding_rs.