
Servo Architecture: Safety and Performance
About this video
Jack Moffitt presents the architecture of Servo, Mozilla's experimental browser engine written in Rust, focusing on parallelism across cores, GPUs and SIMD and the safety properties gained from Rust.
Why it appears in the archive
HN recommends it as an exciting look at how a browser can be rebuilt for performance and safety, including the WebRender ideas that fed into Firefox Quantum.
AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.
From the Hacker News discussion
There seem to be a lot of people that are saying "oh, without XUL based extensions, Firefox is just a (worse) Chrome clone, so I might as well just use Chrome." I think what they might be missing is that Mozilla's conclusion is a lot like the people seem to be thinking here -- even though Chrome doesn't have the fancy extensions that are possible in Firefox, many many more people are using Chrome than Firefox, because they see it as a better Firefox. Clearly, that has something to do with either security or performance, where Firefox has a perceived lag. Mozilla is actively working to improve performance, and you may not want to switch to Chrome after all, because Chrome may instead be the poor man's Firefox (I personally think this is already the case, simply because with my 679 open tabs, Chrome would simply kill itself [44 loaded]). This video is one of the most exciting I have seen with regards to web browser performance, and it's Mozilla: [VIDEO] More info on what this means for Firefox: [LINK] TL;DR: What if even with the missing XUL extensions, you wouldn't want to switch to Chrome, because Firefox was just plain faster?
Read original comment ↗If you have the time there is a nice talk about WebRender: [LINK] Here is another great talk: [VIDEO] At ~25:30 he'll also talk a bit about Quantum. In a nutshell WebRender is used to send a web page to the GPU which will paint all divs, borders, shadows, images etc. Currently WebRender is the only component I'm aware of that is inside Firefox Nightly. It's still behind a config though.
Read original comment ↗This is a great explanation. I also recommend Metajack's talk on WebRender in Servo: [VIDEO] Also go read everything else Lin Clark has done. They're pretty great.
Read original comment ↗