3 ms·
I'd like to see a memory usage comparison with Servo, since mobile devices have far less memory than desktops. On the other hand, I believe that HTML layout ca
by userbinator 13y ago
I'd like to see a memory usage comparison with Servo, since mobile devices have far less memory than desktops.
On the other hand, I believe that HTML layout can be done, using only a single thread, much faster and with far less memory than current mainstream browsers do, by greatly simplifying the code (i.e. remove excessive use of abstraction, using different data structures, etc.) Not exactly the same, but along the same lines as, this related item that appeared here a few days ago: https://news.ycombinator.com/item?id=7457674 https://news.ycombinator.com/item?id=7457674
- pcwalton 13y agoYou'd be surprised: it's not that easy to beat existing browser engines. The IE trick you mention is pretty trivial. That said, it is possible to win, and one of the great benefits of Servo is that its data structures are simpler than other browser engines' in many ways. But it's not as easy as you think.