Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.
Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.
I should’ve been clearer: my misgiving is the claim of “embeddable”. If embeddable means having to read the code to find out how instead reading documentation, tutorials, and examples, nah, it ain’t embeddable. It’s possibly embeddable.
It’s like claiming NIXOS were user friendly, assembly being easy, or Arch Linux stable.
If you’d like to embed Servo in your own application, consider using tauri-runtime-verso, a custom Tauri runtime, or servo-gtk, a GTK4-based web browser widget.
Tauri you say?
Kree jaffa, chapa-ai!
So, in order to embed Servo you need:
I can’t give servo some graphical surface (OpenGL, Vulkan, Metal, DX, whatever), call a function to open a webpage and see it draw on that surface. There’s no lib with documentation on crates.io, no bindings for other languages, and non of the things I mentioned in my previous comment.
It feels like this is built just like Gecko was for Firefox: single consumer with the consumer being the “reference implementation”.
This is what I said
There was no documentation or guide for embedding it into
This is what you posted
If you’d like to embed Servo in your own application, consider using tauri-runtime-verso, a custom Tauri runtime, or servo-gtk, a GTK4-based web browser widget.
Great documentation and exceptional guide! 👏 What next, are you going to tell me that the code is the documentation? “Just read the code”?