News for hackers. Stuff that matters.
Re:Tauri: An Electron alternative written in Rust by dmitrybrant on Friday February 19, 2021 @08:40PM (#26200576)
My god... a 200+ MB install footprint, 200+ MB of RAM usage, requires a beefy GPU just to render its window. How did we get here?
Re:Tauri: An Electron alternative written in Rust by brodock on Friday February 19, 2021 @10:57PM (#26201410)
I think we got there also by desperation of lacking good cross-platform GUI toolkits.

The current state is, you either use something that looks like Windows 95 in all platforms, or web app.

What the web made possible is to anyone to create a decent custom UI with little effort. I still remember how messed up was to create a custom component for Java Swing, which I believe is still one of the easiest to do. How would you do that for QT? GTK? WxWidgets? etc

Re:Tauri: An Electron alternative written in Rust by dleslie on Friday February 19, 2021 @11:22PM (#26201568)
I'll take Win95 in a heartbeat; consistent, accessible, responsive and clear. Vastly superior to the majority of web interfaces.
Re:Tauri: An Electron alternative written in Rust by kilburn on Saturday February 20, 2021 @03:50AM (#26202722)
Also totally inflexible, you better have the right-sized screen/resolution: too small and you can't see that "ok" button; too large and you'll have a ridiculously small and crammed winform to fill/see your information.
Re:Tauri: An Electron alternative written in Rust by pjmlp on Saturday February 20, 2021 @06:42AM (#26203436)
Most cross platform toolkits support layout managers, since Motif days.

Actually even WinForms supports them, even though too many are happily doing fixed canvas positioning without using them.

Re:Tauri: An Electron alternative written in Rust by dleslie on Saturday February 20, 2021 @03:34PM (#26207679)
Windows has shipped an accessibility magnifier since the 90s, before hidpi was a thing.
Re:Tauri: An Electron alternative written in Rust by krzyk on Saturday February 20, 2021 @09:37AM (#26204368)
Take a look at Telegram client, looks great on Linux, not sure how it looks on macos or Windows.
Re:Tauri: An Electron alternative written in Rust by morpheuskafka on Monday February 22, 2021 @12:03PM (#26226886)
Interesting Telegram has both a native (Swift/Obj-C not sure which) and an cross-platform-codebase app for macOS. The former is called Telegram for macOS and the latter Telegram Desktop. Both are on the app store even. So it would actually be a very good case to compare performance, etc. The native one presumably shares a lot of code with iOS which is probably why it exists at all, and it supports secret chats. Otherwise they have similar but slightly different design and features.

However, I think the Telegram Desktop client is not Electron either, it is just regular C++ compiled on different systems.

Re:Tauri: An Electron alternative written in Rust by krzyk on Wednesday February 24, 2021 @02:56PM (#26254865)
Yes, Telegram Desktop is a normal C++ app: https://github.com/telegramdesktop/tdesktop

So a cross-platform is quite easy, Electron one would need to be tested for different webviews on each system.

Re:Tauri: An Electron alternative written in Rust by mekkkkkk on Saturday February 20, 2021 @08:43AM (#26204032)
I might be crazy, but for me it's faster and more convenient to download and run Etcher than to read up on dd command arguments and device paths. Storage space is plentiful for me. RAM isn't an issue as it's only run once in a blue moon.

Is it crazy bloated and resource hungry for what it does? Undeniably! Does it matter? Not for me.

Electron resource use can be painful for apps that are running constantly, like Discord, VSCode and Slack. For utilities like Etcher, who cares.

Re:Tauri: An Electron alternative written in Rust by davegauer on Friday February 26, 2021 @01:16PM (#26277898)
I realize I'm replying six days later - but I can't help mentioning that the "dd situation" is even crazier than it first appears: you can just use `cp foo.iso /dev/sdb` or `cat > /dev/sdb`.

https://unix.stackexchange.com/a/189091/220387 https://eklitzke.org/the-cult-of-dd