Earlier quoted context omitted.
I worked in a job where people developed very similar Qt and Electron apps, in both cases it was a one person effort and the development took about the same time.
Would you be able to mention these apps? I would like to take a look.
Tauri: An Electron alternative written in Rust
421–430 of 438 posts
Re: Tauri: An Electron alternative written in Rust
#422Earlier quoted context omitted.
It's weird to want all the benefits of web development without it's unfortunate quirks in my opinion. If desktop developers don't want to deal with them, which I think is reasonable, they have loads of other tools they can use to build desktop apps (and give the users a better experience most likely).
It's not weird - every developer wants to 'just code' their features/business logic without having to deal with the pain points of the tech. They choose web tech for their app because the opportunity cost of learning a desktop-native language is the time that could be spent bootstrapping an electron app and getting the product out the door earlier.
Re: Tauri: An Electron alternative written in Rust
#423Earlier quoted context omitted.
Yes. Why not? HTML/CSS great (from the development POV) for UI, and I can always write the performance critical code in C and linked them to the electron HTML/CSS frontend.
Presumably, if copying some data between JavaScript and native code in a slightly roundabout way was an issue, you wouldn't run things through web technology in the first place…
Re: Tauri: An Electron alternative written in Rust
#424Each Electron application seems to think it's the only one running in a computer. It's the only way, I imagine, they think it's acceptable the amount of resources they need to run.
As a developer shipping executables to MacOS, Windows, and Linux today this is the only assumption I can make. I cannot assume that dependencies exist or are the correct version, I can't assume the user knows that package managers exist or that the dependencies shipped by the package managers are correct, I can't assume anything exists on PATH or LD_LIBRARY_PATH, and I can't even assume that libc or libc++ on a syste…
Re: Tauri: An Electron alternative written in Rust
#425I am a bit bias, I am the author of a security-focused Electron template.
Re: Tauri: An Electron alternative written in Rust
#426Earlier quoted context omitted.
100 MB / app is significant, especially on laptops. Slack used to use so much memory on Linux that I couldn't afford to run the desktop app and ran it inside a Firefox tab for years... seems to have gotten better somehow.
I doubt there would be many GUI apps that eat less than 100 MB — if only that would be the maximum.
Re: Tauri: An Electron alternative written in Rust
#427Earlier quoted context omitted.
I wish the dart language was more common than typescript. but this is very hard.
What do you like about Dartlang? Every time I've looked at it it's seemed like a rather uninspired language, almost like a slightly more dynamic Java (and an older Java too). I've never used it for anything production though.
Re: Tauri: An Electron alternative written in Rust
#428Earlier quoted context omitted.
An entire generation is being raised on Chromebooks. I wish Boot2Gecko and Firefox OS weren’t a bit ahead of themselves and had better ugh marketing.
Entire generation where? Let's say I saw exatly 1 guy with a chromebook through my life, and likely chromebooks weren't even officially sold in my country. And still Chrome is the most popular browser here.
https://www.geekwire.com/2021/chromebooks-outsold-macs-world...
Re: Tauri: An Electron alternative written in Rust
#429Reading all these comments about WebView compatibility issues makes me wonder why not just do Progressive Web Apps"? For the server the OS doesn't matter, and for the browser compatibility issues just deal with them like any web-app would. What is wrong with separate client and server?
Isn’t there a lot more work to do around local IO and permissions with PWAs?
But for development purposes yes there is the complication of having to acquire and install a certificate to your server which your browser will trust without questions. So yes, that is (at least) one factor making PWA development more cumbersome than it should be.
Re: Tauri: An Electron alternative written in Rust
#430Earlier quoted context omitted.
> Instead of writing platform specific apps You've answered your own question as to why people write then. > What value does electron add to the user? It adds a lot of value to Linux and to a lesser extent Mac users: before a electron a lot of apps didn't have a version for these platform at all.
> It adds a lot of value to Linux and to a lesser extent Mac users: before a electron a lot of apps didn't have a version for these platform at all What value does _this_ add over a web app? I've been an exclusive Linux user since college so I'm aware of the disadvantages of app/service unavailability (I remember the dark days of running Netflix in a windows VM that I barely had enough RAM to run...). But what's the…