Re:NyaoVim: Web-enhanced Extensible Neovim Front End
by nwah1 on Wednesday March 09, 2016 @10:29AM
(#11253491)
Servo has a "webrender" backend that is GPU-accelerated. While it isn't nearly at feature parity with the established rendering engines, it is an order of magnitude faster at rendering the features that it currently has implemented.
It won't replace your current browser for some years, but I see no reason why it couldn't serve as the engine for something like Electron.
Re:NyaoVim: Web-enhanced Extensible Neovim Front End
by moonchrome on Wednesday March 09, 2016 @10:37AM
(#11253531)
Sure but it's still going to be slower than a native GUI library designed for GPU acceleration because you still need to implement CSS layout and DOM which are suboptimal by design. Maybe by the time Servo lands to mainstream it will be fast enough that it won't matter - but right now that's just not true - DOM is still an inferior platform for GUI because the performance sucks and that's not going to change any time soon - Servo isn't even close to complete yet.
Re:NyaoVim: Web-enhanced Extensible Neovim Front End
by tshannon on Wednesday March 09, 2016 @02:53PM
(#11255328)
Not necessarily. For instance I believe Nyaovim actually renders to <canvas>. So there is very little dom. I'm sure there is some overhead, but I don't see any reason why the performance can't get on par, if not close to native application performance.
So something like Qt or native GUI frameworks are always going to outperform DOM based GUI, and CPUs stopped getting faster so most of these issues aren't going to be solved by hardware improvements (GPU rendering requires a big overhaul of browser stack).