News for hackers. Stuff that matters.
Re:Servo nightly builds on Windows now available by kibwen on Thursday April 13, 2017 @11:49AM (#14108014)
Improving HTML + CSS performance is absolutely one of the goals of Servo. Here's a video from pcwalton demonstrating reflow (HTML), repainting, and CSS animations on the GPU in Servo: https://air.mozilla.org/bay-area-rust-meetup-february-2016/#... (much of this code is being uplifted to Firefox as WebRender). It's true that Servo won't have any effect on Javascript performance, but WASM won't have any effect on HTML or CSS performance.
Re:Servo nightly builds on Windows now available by hacker_9 on Thursday April 13, 2017 @12:13PM (#14108277)
I understand that, but the idea that HTML + CSS can only be sped up by some hugely parallel structure requiring a whole new programming language and browser engine is really quite shocking. I think once webassembly is established and in use, we will start to see steps in the direction of replacing HTML + CSS altogether, with something that has performance in mind.
Re:Servo nightly builds on Windows now available by UtherII on Thursday April 13, 2017 @12:49PM (#14108674)
A new programming language is not required, it's just a bonus to help developers handling safety and concurrency.
Re:Servo nightly builds on Windows now available by pekk on Thursday April 13, 2017 @01:46PM (#14109247)
It seems like a valid point that many of the details of HTML and CSS, while you can use all kinds of fancy techniques to make them a little faster, impose limits on performance.
Re:Servo nightly builds on Windows now available by kibwen on Thursday April 13, 2017 @03:26PM (#14110174)
It's true that the DOM is a bottleneck on many apps (I don't think anybody is disputing that), but "a little faster" undersells what Servo is trying to achieve: order-of-magnitude speedups on GPU-parallelizable tasks, and at least factor-of-two speedups on CPU-parallelizable tasks, all while providing stronger guarantees WRT user security than any contemporary browser.
Re:Servo nightly builds on Windows now available by kibwen on Thursday April 13, 2017 @01:23PM (#14109026)
If you mean throwing out the DOM entirely for something canvas-based, I'm sure that will happen in some cases but I'm very skeptical that it will ever be anything close to the dominant paradigm for the web.
Re:Servo nightly builds on Windows now available by aanm1988 on Thursday April 13, 2017 @09:34PM (#14112141)
It's building an engine from scratch as opposed to using legacy code and design decisions.

Why wouldn't you expect that to be faster?

Re:Servo nightly builds on Windows now available by 13years on Thursday April 13, 2017 @03:15PM (#14110066)
If you listen to talks about the design architecture of Servo you will understand the HTML CSS is not the problem. It actually is an advantage when you want to build an engine that works like a high performance game engine.
Re:Servo nightly builds on Windows now available by UtherII on Thursday April 13, 2017 @11:59PM (#14112630)
I'm not so sure. I remember a presentation of Webrender with nice demos : https://www.youtube.com/watch?v=erfnCaeLxSI&spfreload=10

Everything was perfecty smooth, but according to pcwalton the bottleneck was CSS handling.