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”?
For those who don’t know the history, Servo was the very first Rust project to ever exist.
Back in 2012, Mozilla knew that their Gecko web engine was already getting old and unmaintainable. One of the engineers in their R&D department Mozilla Research was quietly working on a new programming language, so they adopted that to start work on their new browser engine, Servo.
Rust v1.0 was released to the public in 2015, and was much more popular than the new browser engine it was used to create. Mozilla Research eventually gave up the idea of a new browser engine, but they did merge some of the Servo features into Gecko. Mozilla Research was shut down in 2020, and the Servo project was taken over by the Linux Foundation.
Tried it out:
Pretty good progress, but still mostly unusuable for daily use. Looking fowards to seeing it progress though!