4 ms·
I think that it's clear that any technology that helps the browser better compete with native applications in terms of performance is worthwhile. Regarding new
by pcwalton 13y ago
I think that it's clear that any technology that helps the browser better compete with native applications in terms of performance is worthwhile.
Regarding new specs, we're of course working on that too, with specifications like flex box and grid layout. Part of Servo's goal is to steer the conversation toward what can be done to make future CSS specs parallelizable on CPUs and GPUs. But of course we want to be fast on existing Web content as well.
- frozenport 13y agoNative applications do layout and engines such as Qt are single threaded.
- vidarh 13y agoWhy is that a reason to remain single-threaded? Especially when most new hardware is multi-core.
- frozenport 13y agoConsider the parallel addition task, it takes N*log(N) instead of single threaded addition which takes N. Which is more energy efficient? If takes 10x the power to do layout in 20ms vs 30ms is it still a good deal?
- pcwalton 13y ago10x is a silly exaggeration. As for your general point, you'd be surprised: often consuming more power per second is much better for power efficiency than consuming less power if that power consumption lets you complete the task faster. That is because the wins of getting back to the CPU's low-power idle state quicker dominate everything else. It is almost always better to use the power available to you.