• onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      23 hours ago

      So, in order to embed Servo you need:

      • to use Tauri: sure, pull in a huge other project to be able to use our project 🫰
      • use GTK: again, pull in a bunch of unrelated dependencies to be able to embed our project

      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”.

        • onlinepersona@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          22 hours ago

          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”?