Hacker News new | past | comments | ask | show | jobs | submit login

I think this is Servo? Is there any progress with Servo outside of VR/AR? Really looking forward to a browser with parallel layout.



Yes! 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


Java 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.


The parallelism in Servo layout is powered by Rayon, which is extensively optimized and shipping in Firefox.


Fantastic, thanks!


Not 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: