Hacker News new | ask | show | jobs
by akiselev 2045 days ago
You send Servo raw display lists, which is a format tailored specifically to represent the DOM but it acts like a generic slicing compositor in practice. It's not coupled in the classical sense - the display lists represent shapes, colors, stacks, rounded borders, etc..

It's more like Skia and can be used to develop GUI frameworks (which is exciting because Servo is Rust and Rust's GUI story is still in its early stages).

2 comments

Thanks for that explanation. From the website, it wasn't quite clear to me (and still isn't tbh) whether servo is merely a rendering or also a CSS layout (+ parsing etc) engine.
The Servo CSS engine is what powers Stylo to handle CSS in Firefox Quantum.
Very true, just wanted to find out what it is and not easy.
Thanks for clarifying. This is exciting indeed! Are you aware of usage outside of browsers?