News for hackers. Stuff that matters.
Re:Tauri: An Electron alternative written in Rust by hobofan on Friday February 19, 2021 @01:26PM (#26196205)
This is about desktop and not web development though. I agree that pages available on the web should be standard compliant and work with all browsers.

On the desktop you are developing against a runtime that the developer of the app gets to choose, so why not choose one that has less potential for quirks?

Re:Tauri: An Electron alternative written in Rust by danudey on Friday February 19, 2021 @01:41PM (#26196382)
Because then you'll get a more efficient app that people don't constantly complain about?

Especially on macOS, where Chrome/Chromium have historically been extremely inefficient, swapping the Chromium engine for WebKit2 WebViews would mean battery, memory, and CPU savings which would absolutely be worth the effort IMHO.

Re:Tauri: An Electron alternative written in Rust by hobofan on Friday February 19, 2021 @01:47PM (#26196439)
Apart from the install size which is still not optimal, it is very much possible to write an efficient Electron app, as evidenced by Discord and Element.

That Slack, the poster child of bad Electron apps performs so badly must therefore have different reasons. Exactly the same way you can write websites in a way that is more or less efficient you can write Electron apps of varying degrees of efficiency.

Re:Tauri: An Electron alternative written in Rust by plorkyeran on Friday February 19, 2021 @04:36PM (#26198321)
Discord is efficient now? I have to restart it on a regular basis because it starts using 5+ GB of ram.
Re:Tauri: An Electron alternative written in Rust by innocenat on Friday February 19, 2021 @08:47PM (#26200640)
Especially on MacOS where Webkit usually behave differently? Like, why would webkit still require webkit prefix for Web Audio API, which is like 8 years old at this point.

To me, develop for Electron is more fun than normal web because I don't have to check whether the new web feature I am using is available everywhere (especially Safari) yet.