Download - Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.
servo.org
external-link
Servo is a web rendering engine written in Rust, with WebGL and WebGPU support, and adaptable to desktop, mobile, and embedded applications.
suoko
creator
link
fedilink
47d

I tried the apk and It even runs webgl, you can already see it imo

I mean embedding into applications. There was no documentation or guide for embedding it into anything last I checked and this is just a demo browser that’s being released. If embedding it into applications is as hard as Gecko, it will have no chance against Blink and WebKit.

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.

https://book.servo.org/

Scroll Responsibly
link
fedilink
2
edit-2
6d

Tauri you say?

Kree jaffa, chapa-ai!

@[email protected]
link
fedilink
English
-1
edit-2
6d

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

@[email protected]
link
fedilink
English
-1
edit-2
6d

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

I also provided a link, which will lead you to the documentation.

Create a post

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

  • 1 user online
  • 20 users / day
  • 73 users / week
  • 321 users / month
  • 1.47K users / 6 months
  • 1 subscriber
  • 4.29K Posts
  • 49.3K Comments
  • Modlog