News for hackers. Stuff that matters.
Re:Stylo shipping in Firefox Nightly by k__ on Tuesday July 25, 2017 @10:06AM (#14847774)
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?

Re:Stylo shipping in Firefox Nightly by Manishearth on Tuesday July 25, 2017 @12:15PM (#14848935)
We 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.

Re:Stylo shipping in Firefox Nightly by hsivonen on Tuesday July 25, 2017 @02:30PM (#14850534)
A GitHub search suggests that Servo isn’t using encoding_rs.
Re:Stylo shipping in Firefox Nightly by NiLSPACE on Tuesday July 25, 2017 @10:28AM (#14847949)
There is a wiki page about Project 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.

Re:Stylo shipping in Firefox Nightly by k__ on Tuesday July 25, 2017 @10:37AM (#14848024)
Do I get this right.

Servo is the experimental browser (engine?)?

Quantum is the project that ports parts of Servo to Firefox over time?

Re:Stylo shipping in Firefox Nightly by mintplant on Tuesday July 25, 2017 @11:26AM (#14848439)
Quantum 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++.
Re:Stylo shipping in Firefox Nightly by sp332 on Tuesday July 25, 2017 @10:57AM (#14848168)
Right. Servo is an engine that will be embeddable into apps that need to render HTML, not just browsers.
Re:Stylo shipping in Firefox Nightly by k__ on Tuesday July 25, 2017 @11:58AM (#14848755)
Ah, so like the omni-present webkit view?
Re:Stylo shipping in Firefox Nightly by sp332 on Tuesday July 25, 2017 @12:44PM (#14849286)
Yeah, exactly. It doesn't include a JS engine so for now it uses SpiderMonkey, but eventually you should be able to plug others in.
Re:Stylo shipping in Firefox Nightly by infogulch on Tuesday July 25, 2017 @11:17AM (#14848340)
Whoa I didn't know webrender was shipping on nightly already, even if it's unstable.
Re:Stylo shipping in Firefox Nightly by NiLSPACE on Tuesday July 25, 2017 @11:34AM (#14848508)
Currently with Webrender enabled Firefox renders it both on Webrender and the old renderer which causes it to be really slow.
Re:Stylo shipping in Firefox Nightly by infogulch on Tuesday July 25, 2017 @11:43AM (#14848602)
I see, that would explain the performance issues. Why is it set up like that?
Re:Stylo shipping in Firefox Nightly by metajack on Tuesday July 25, 2017 @04:04PM (#14851381)
There'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.

Re:Stylo shipping in Firefox Nightly by NiLSPACE on Wednesday July 26, 2017 @02:30AM (#14854033)
> The old system will still be needed post-WebRender for printing at the very least.

Isn't it possible to take a frame from WebRender and print that? Having two separate systems seems like allot of unnecessary maintenance. Especially if one of those systems is only used on rare occasions like printing.

Re:Stylo shipping in Firefox Nightly by steveklabnik on Tuesday July 25, 2017 @11:46AM (#14848628)
My understanding is that WebRender doesn't support everything yet, so right now it's mostly about validating correctness.
Re:Stylo shipping in Firefox Nightly by infogulch on Tuesday July 25, 2017 @11:59AM (#14848763)
Ah I see, so it basically enables a parallel run of webrender to gather compatibility/correctness stats.
Re:Stylo shipping in Firefox Nightly by k__ on Tuesday July 25, 2017 @11:57AM (#14848744)
So it renders it two times and compares the results?
Re:Stylo shipping in Firefox Nightly by Manishearth on Tuesday July 25, 2017 @12:16PM (#14848951)
It renders it in series -- stuff goes through webrender first, and then whatever webrender couldn't handle gets dealt with with the regular renderer.