News for hackers. Stuff that matters.
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by jakelazaroff on Saturday August 13, 2022 @12:11AM (#32446818)
Tauri uses the operating system's web view, so it's significantly smaller than Electron's "ship a whole copy of Chromium" approach.
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by chii on Saturday August 13, 2022 @12:16AM (#32446848)
but then you have to contend with the various potential different webviews from different OS'es.

The weight of an app is more than just the size on disk, which tbh, is insignificant in today's harddrive. What's a couple hundred extra megs?

The advantage of shipping your own browser is the control, and thus, reduction in having to support multiple different webviews and the bugfixing associated with that.

Re:Tauri – Creating Tiny Desktop Apps With React/Vue by jakelazaroff on Saturday August 13, 2022 @01:01AM (#32447070)
As someone who cut their teeth on web development when we still had to deal with IE6, I just don't think this is a problem. I can probably count on one hand the number of times I've had to fix major inconsistencies between browsers over the past few years.
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by musicale on Saturday August 13, 2022 @12:24AM (#32446885)
Imagine being able to run ten 1.6GB Electron apps in only 16GB of RAM - it's super efficient!
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by fluidcruft on Saturday August 13, 2022 @12:26AM (#32446894)
Wouldn't a web app have to deal with running in the various browsers anyway?
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by chii on Saturday August 13, 2022 @12:28AM (#32446902)
yes, a web based app would have to contend with the same issue. So what's the advantage of shipping a packaged app that also have the same problem, when shipping it as an electron app would solve this directly and easily?
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by iainmerrick on Saturday August 13, 2022 @12:40AM (#32446960)
The packaged app can work with the local file system, and call additional native APIs that aren’t available in a browser context.
Re:Tauri – Creating Tiny Desktop Apps With React/Vue by devmor on Saturday August 13, 2022 @12:53AM (#32447031)
The main advantage is that the Tauri app runs its non-render contexts in Rust, on the metal, rather than in the javascript vm.

The secondary advantage is that you don't have to update and ship a new binary every time Chromium updates.