3 ms·
I'm going to offer a different explanation, but first, the standard one: Mozilla doesn't want to miss a paradigm shift, especially one where the only players cu
by moosingin3space 8y ago
I'm going to offer a different explanation, but first, the standard one: Mozilla doesn't want to miss a paradigm shift, especially one where the only players currently in it are very proprietary. They learned their lesson with mobile.
One thing that many of us, myself included, are very excited about regarding the Servo/WebRender/Quantum projects is the ability for a fast, parallel web rendering engine to open new possibilities, such as how V8's JIT significantly pushed the envelope of what was possible. Now that JavaScript is acceptably fast, and we have WebAssembly for cases where control over memory layout is necessary, network speeds are the bottleneck of most applications. WebRender's big concept of rendering the entire web at "maximum FPS" is pretty awesome, but it's not pushing the envelope by itself, since framework and application developers have been treating "minimize DOM manipulation" as an important optimization. There's clearly potential with WebRender, but if a majority of used webpages are already rendering at an adequate framerate due to framework-level optimizations (and prior browser optimizations like Electrolysis and Stylo), it may be viewed as superfluous, despite potentially huge advantages.
I think the research in this direction is beneficial, and as a result, I'd like the Servo project to be allowed to continue developing cool stuff. As Servo won't replace Gecko in Firefox, it needs to try more challenging tasks to continue to push its envelope. WebRender has a ton of potential in the WebVR space, since a Web Components-based VR system would rely heavily on a performant DOM. Such a project would push Servo to continue development in preparation for a more functional future web.
- floatboth 8y agoWR doesn't help much with DOM update related issues, WR comes into play after that, when it's pixel time. WR is pushing the envelope for creative (ab)use of DOM elements as graphics primitives, like in that spinning cubes demo :) but on a more serious note, leveraging the GPU makes a lot of sense because it's been sitting there mostly unused (only used for layer compositing) when browsing, and it's more efficient at graphics operations. That said, Servo itself has a fresh DOM implementation and I think there was work on making it really fast.
- moosingin3space 8y agoIn retrospect, you're correct. I should have said "WR reduces the cost of the paint/composite cycle".