5 ms·
Building and using Servo as a library has been a huge pain. I've been waiting for improvements since https://github.com/paulrouget/servoshell https://github.com
by jakearmitage 7y ago
Building and using Servo as a library has been a huge pain. I've been waiting for improvements since https://github.com/paulrouget/servoshell https://github.com/paulrouget/servoshell was abandoned
- AlbertoGP 7y agoSame here, I thought it would have been ready for that long ago as they touted embeddability as a prominent goal, but every few months I try again, and have to give up again. So far I’m using WebKit while I wait for libservo to be ready. The article however is a very good explanation (as far as I can tell) of how the SpiderMonkey Javascript interpreter is linked to Servo. What I need in the first place is the layout and rendering engine, but hopefully this article will be useful for me in the future.
- edko 7y agoI've started using the web-view project (https://github.com/Boscop/web-view https://github.com/Boscop/web-view), with good results. Instead of embedding a browser, it uses the system's webview (Safari on macOS, gtk-webkit2 on Linux and Edge on Windows 10).
- polyglotfacto 7y agoI personally haven't much work on embedding Servo, however I do think there has been some progress the last few years, Servo is being embedded in a Hololens applications(see https://github.com/servo/servo/tree/master/support/hololens https://github.com/servo/servo/tree/master/support/hololens), as well as a Magicleap application(see https://github.com/servo/servo/tree/master/support/magicleap https://github.com/servo/servo/tree/master/support/magicleap). The embedding API used can be found at https://github.com/servo/servo/tree/master/ports/libsimpleservo https://github.com/servo/servo/tree/master/ports/libsimplese... I think it's a pretty low-level embedding API, so perhaps not comparable with embedding Webkit(I have no experience with that either), it does seem to do the trick.
- jakearmitage 7y agoThe problem with libsimpleservo is that it only supports one view.