4 ms·
> Now imagine rewriting every mobile app from scratch using the lessons learned from Servo. You just rewrite the popular libraries and game engines. Then lots
by pcwalton 12y ago
> Now imagine rewriting every mobile app from scratch using the lessons learned from Servo.
You just rewrite the popular libraries and game engines. Then lots of applications start to achieve parallel speedups. The point of Servo is in fact to achieve just that—don't forget that a browser is not just an application but a platform, running applications that happen to be written in (up-to-now) essentially-single-threaded JavaScript, HTML, and CSS. But as a specification, CSS and HTML (especially CSS) are in fact quite surprisingly parallelizable, and our tests have shown that existing apps get great speedups unmodified in Servo.
Taking the underlying framework and parallelizing it is an effective technique to take what were previously single-threaded applications and making them parallel. In fact, in a sense that's what superscalar CPUs have already been doing for decades.