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

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!




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

Search: