News for hackers. Stuff that matters.
Re:Tauri: An Electron alternative written in Rust by Brakenshire on Friday February 19, 2021 @01:24PM (#26196174)
Pity they can’t use Servo as the rendering engine, even if it only deals with a small subset of style/layout properties. That kind of parallel layout engine should make building fluid 60fps interfaces a lot easier.
Re:Tauri: An Electron alternative written in Rust by Maledictus on Friday February 19, 2021 @01:29PM (#26196242)
Why can't they?
Re:Tauri: An Electron alternative written in Rust by nklayman on Friday February 19, 2021 @02:03PM (#26196658)
Servo is quite large and extremely difficult to build from source. We've tried to make it work with Tauri but decided it's not worth it, at least for now.
Re:Tauri: An Electron alternative written in Rust by mdaniel on Friday February 19, 2021 @03:38PM (#26197761)
Do you have more specifics, and/or have you advised them of the difficulties? It seems to use the same "mach" build process as does firefox, and I build FF developer edition regularly (not every day, but damn near): https://github.com/servo/servo#normal-build

While investigating this, I have deep sympathies for whoever has to work with that taskcluster silliness because yikes that is some A++ grade obfuscation as compared to a .gitlab-ci.yml or .circleci or even the .travis.yml they migrated off of

Re:Tauri: An Electron alternative written in Rust by NetOpWibby on Friday February 19, 2021 @03:25PM (#26197622)
This makes me feel better about abandoning my own plans to do the same.
Re:Tauri: An Electron alternative written in Rust by afavour on Friday February 19, 2021 @01:36PM (#26196329)
AFAIK there are no V8 <-> Servo bindings. So in theory (I don’t know Servo well at all) you could render a static HTML document but you’d have no DOM JS APIs to work with.
Re:Tauri: An Electron alternative written in Rust by fabrice_d on Friday February 19, 2021 @02:04PM (#26196668)
Servo uses SpiderMonkey as its JS engine, and supports some DOM apis.
Re:Tauri: An Electron alternative written in Rust by silon42 on Friday February 19, 2021 @03:32PM (#26197701)
you probably wouldn't want it anyway. Using Servo only for rendering and using Rust for everything else would be preferable.