3 ms·
I think this is Servo? Is there any progress with Servo outside of VR/AR? Really looking forward to a browser with parallel layout.
by Brakenshire 7y ago
I think this is Servo? Is there any progress with Servo outside of VR/AR? Really looking forward to a browser with parallel layout.
- wlesieutre 7y agoNot by default yet, but you can enable it for testing. Requires a recompile with a properties file to make the option appear. >Experimental Servo support >To compile with Servo support, create a file called user.properties in the top-level project directory and add enableServo=1. Then to enable Servo in Firefox Reality, go the Developer Options panel in the Settings, and toggle the Servo option. Then a new button will be added to the navigation bar. Clicking that button will reload the current page with Servo. https://github.com/MozillaReality/FirefoxReality https://github.com/MozillaReality/FirefoxReality
- pcwalton 7y agoYes! There's an active Servo Layout 2.0 project going on right now, which is a revamp of layout to make it production-quality. Anthony developed some Rust iterator magic to allow us to write sequential-looking code that actually runs in parallel, which is a major improvement in maintainability over what we had before. Most of the work is currently going on out-of-tree in Simon's victor project, if you're interested: https://github.com/SimonSapin/victor https://github.com/SimonSapin/victor
- krferriter 7y agoJava added fairly seamless parallel iterators via streams but there is a huge amount of overhead there and often it is slower than normal iterators, depending on the work being done at each iteration. Hopefully Rust is able to avoid that sort of downside.
- pcwalton 7y agoThe parallelism in Servo layout is powered by Rayon, which is extensively optimized and shipping in Firefox.
- Brakenshire 7y agoFantastic, thanks!