6 ms·
The stack of web technologies is staggeringly enormous. It may not feel like it just scanning over a simple HTML page, but it is, and there's a lot of invisible
by jerf 12y ago
The stack of web technologies is staggeringly enormous. It may not feel like it just scanning over a simple HTML page, but it is, and there's a lot of invisible-yet-critical stuff like proper same-origin policy enforcement. The miracle is not that it takes Servo a while to be created, it's that this stack works at all, and that they're even trying!
- higherpurpose 12y agoCouldn't they just do something similar to Microsoft's Edge/IE11 approach? Servo for HTML5+/CSS3+/Javascript ES6+ and then keep Gecko as well inside Firefox for "legacy websites"?
- adapt_throw 12y agoIf the point is to make a more secure browser, allowing a webpage to opt-in to use the old, less secure engine instead is probably a non-starter. (In any case, I think the complexity is fundamental to many of the specs involved.)
- TazeTSchnitzel 12y agoHTML5 is no smaller than its predecessors. It's considerably larger.
- gsnedders 12y agoHTML5/CSS3/ES6 define how to process legacy content as well as current — the only actual branching for versions is quirks mode and that has relatively minor effects which aren't that much code to implement. Edge should, in principle, support everything, including legacy sites (at least as well as other browsers do today). Trident is only being kept around for sites that do extensive UA sniffing and rely on obscure behaviour — and pretty much only for the intranet.
- Manishearth 12y agoGecko is not exactly separable from Firefox (unlike Blokc/Webkit and I'm guessing Trident/Spartan). The firefox UI depends heavily on things like XUL and XPCOM and whatnot which are nonstandard features in Gecko and would be a pain to support in Servo. I guess you could run two browser engines -- one for the UI, one for the content, but I'm not sure how well that would work.