by rtpg · 9y ago · 0 comments
We've already seen this in the JS engine space, though it's still pretty hard to integrate alternate JS engines into browsers. Having more and more of the app broken up makes it _much_ easier for contributors to come in and for work to be shared.
We don't all need to write our own implementations of CSS style sharing, even if higher level strategies are different.
However, lots of pieces of the CSS engine are modular and published as their own crates, like rust-cssparser, rust-selectors, etc.
Other Servo projects are more modular; WebRender in particular just has an IPC boundary with specific messages.
Servo layout would probably be more like CSS than WebRender in terms of modularity. So it's not perfect, but we're trying very hard!