Could be like TeamCraft for FFXIV and have a shitty desktop electron app that doesn’t even work most of the time with packet capturing on Linux. It’s not even cross platform, just bullshit.
I am not a programmer, but whenever I hear something is an electron app, I immediately expect it to be unresponsive as fuck and fail to perform its basic functions adequately. Does it really have a reputation to the contrary? Or is that the joke and I'm an idiot?
Imagine if you strip almost everything from chromium. That's electron. The platform which works 99% of the time normally, but sometimes requests 450Gbs of RAM
Uh, what are you still doing with that 64 core CPU, a terabyte of RAM and a petabyte SSD? How do you expect that ancient hardware to keep up with the speed of typing and your mouse movements?
Minimalist, Responsive and Cross-Platform? Brother, just make it a plain ol' website. Maybe a PWA if you're sure that it needs to be installed/ used offline.
The siren song of cross platform is very strong. I don't think I've ever used those frameworks to be cross platformzl, but man do the pains of making something cross platform still rear their ugly head when developing the core functionality of an app.
mygosh... i mean... i dooo wana make som fun app thingy tho mayb - jus not usin electron thingy..,
i knoooo peeps dont like electron for its.... i think ram consumption - .,...., still kinda.,...... ifuno - umm... mayb its not that bad to be a buzz lightyear..,.... if ur doin it with heart?....,... iguess we r all jus peeps in the same package.,......
If you prefer to use web technology, make a website, otherwise use a native gui library.
If your website needs to interact with the OS (for stuff like files) or you just want people to have it locally, don't use electron, publish a small binary that hosts the website on localhost.
I know you can stand out creatively, so make the most of it.
That sounds unnecessarily complex, especially if it's a smaller application.
You can just use Tauri which uses the system webview for the UI so you still get to use web tech. No need to package an entire copy of Chromium, but you lose the only advantage of Electron which is that it runs the same browser for everyone. Memory usage is slightly lower, but storage overhead is a LOT lower - though the memory usage may depend on platform of course.
Wails with Svelte is really nice... Idk why more projects don't use stuff like that. I get wanting webtech; no one wants to write GUI in C, but Electron is a blight
In terms of what? It's not like Electron, Qt, or gtk have been around forever. Programs with UI existed well before they did.
One of my favorite applications that I use basically every day is convert. It takes up about 500KB on disk, consumes about 1.7KB of RAM, runs on anything from Windows 98 to Windows 11, and runs on Linux via WINE without issue.
I guess I don't know what it was actually written in, but it sure doesn't seem like it was any of those 😅.
33 Comments
Randelung@lemmy.world · 74 pts · 246d
"What problem are you solving?"
"Hm?"
thethunderwolf@lemmy.dbzer0.com · 3 pts · 244d
misread this as “What problem are you smoking?”
spujb@lemmy.cafe · 61 pts · 246d
“cross platform” and then distributed binaries are whole major version numbers apart between windows and linux, and no mac distro,
undocumented source code dumped to github no build instructions provided
underscores@lemmy.zip · 18 pts · 246d
why can't discord just update without needing me to download the latest version from my package manager ?
and when I download the latest version it still needs to update like 5 times ... why ?
lauha@lemmy.world · 10 pts · 245d
On linux package manager is the preferred method to update.
Holytimes@sh.itjust.works · 7 pts · 246d
If I recall that's cause it doesn't have permission to do anything to the folder it lives in or some shit.
Flames5123@sh.itjust.works · 3 pts · 245d
Could be like TeamCraft for FFXIV and have a shitty desktop electron app that doesn’t even work most of the time with packet capturing on Linux. It’s not even cross platform, just bullshit.
finalarbiter@lemmy.dbzer0.com · 45 pts · 246d
I am not a programmer, but whenever I hear something is an electron app, I immediately expect it to be unresponsive as fuck and fail to perform its basic functions adequately. Does it really have a reputation to the contrary? Or is that the joke and I'm an idiot?
curbstickle@anarchist.nexus · 40 pts · 246d
Thats the joke
finalarbiter@lemmy.dbzer0.com · 20 pts · 246d
Lol thank you, I'm dumb
DoPeopleLookHere@sh.itjust.works · 6 pts · 244d
Your not dumb. Your not informed.
We can't all be informed on everything ever.
You asked and learned, that's what makes you smart. Not books read, but desire to learn.
vivalapivo@lemmy.today · 19 pts · 246d
Imagine if you strip almost everything from chromium. That's electron. The platform which works 99% of the time normally, but sometimes requests 450Gbs of RAM
HugeNerd@lemmy.ca · 5 pts · 244d
Uh, what are you still doing with that 64 core CPU, a terabyte of RAM and a petabyte SSD? How do you expect that ancient hardware to keep up with the speed of typing and your mouse movements?
finalarbiter@lemmy.dbzer0.com · 3 pts · 244d
I wish I had a petabyte ssd! There'd be so much room for activities!
HugeNerd@lemmy.ca · 1 pts · 244d
Pff, barely enough for the latest open source mouse driver.
python@lemmy.world · 27 pts · 246d
Minimalist, Responsive and Cross-Platform? Brother, just make it a plain ol' website. Maybe a PWA if you're sure that it needs to be installed/ used offline.
Swedneck@discuss.tchncs.de · 1 pts · 221d
just fucking use tkinter
A_norny_mousse@feddit.org · 20 pts · 246d
✨LIGHTWEIGHT✨
✨SLEEK✨
✨RESPONSIVE✨
Turn around and walk away when you see anyone praising a product this way. Just like with "Truth", it is likely to be the opposite.
NaibofTabr@infosec.pub · 9 pts · 246d
"Well it's more responsive than the previous version!"
"Oh, what was the previous version like?"
"Dunno, it just crashed on launch every time."
jaybone@lemmy.zip · 14 pts · 245d
640k is all you need.
-Some guy who totally didn’t go to Epstein island
chickenf622@sh.itjust.works · 11 pts · 246d
The siren song of cross platform is very strong. I don't think I've ever used those frameworks to be cross platformzl, but man do the pains of making something cross platform still rear their ugly head when developing the core functionality of an app.
yetAnotherUser@discuss.tchncs.de · 8 pts · 245d
Electron might have OS specific bugs.
Better build it with Electron and only distribute it as a Windows VM.
spujb@lemmy.cafe · 3 pts · 241d
is this docker lore
ZILtoid1991@lemmy.world · 2 pts · 244d
Even better: put periodic OS checks, to make sure it's not being hacked out from the Chromium instance, to then being ran on a different OS.
Smorty@lemmy.blahaj.zone · 8 pts · 246d
mygosh... i mean... i dooo wana make som fun app thingy tho mayb - jus not usin electron thingy..,
i knoooo peeps dont like electron for its.... i think ram consumption - .,...., still kinda.,...... ifuno - umm... mayb its not that bad to be a buzz lightyear..,.... if ur doin it with heart?....,... iguess we r all jus peeps in the same package.,......
NaibofTabr@infosec.pub · 10 pts · 246d
do you smell toast?
Smorty@lemmy.blahaj.zone · 11 pts · 246d
i can smell the electron toast notifications.... otherwise, no- just som tea i just made ~
anton@lemmy.blahaj.zone · 3 pts · 245d
If you prefer to use web technology, make a website, otherwise use a native gui library.
If your website needs to interact with the OS (for stuff like files) or you just want people to have it locally, don't use electron, publish a small binary that hosts the website on localhost.
I know you can stand out creatively, so make the most of it.
boonhet@sopuli.xyz · 2 pts · 244d
That sounds unnecessarily complex, especially if it's a smaller application.
You can just use Tauri which uses the system webview for the UI so you still get to use web tech. No need to package an entire copy of Chromium, but you lose the only advantage of Electron which is that it runs the same browser for everyone. Memory usage is slightly lower, but storage overhead is a LOT lower - though the memory usage may depend on platform of course.
ImgurRefugee114@reddthat.com · 5 pts · 245d
Wails with Svelte is really nice... Idk why more projects don't use stuff like that. I get wanting webtech; no one wants to write GUI in C, but Electron is a blight
espurr@sopuli.xyz · 1 pts · 244d
What alternatives are there? Qt and gtk is awkward to use
TonyOstrich@lemmy.world · 6 pts · 244d
In terms of what? It's not like Electron, Qt, or gtk have been around forever. Programs with UI existed well before they did.
One of my favorite applications that I use basically every day is convert. It takes up about 500KB on disk, consumes about 1.7KB of RAM, runs on anything from Windows 98 to Windows 11, and runs on Linux via WINE without issue.
I guess I don't know what it was actually written in, but it sure doesn't seem like it was any of those 😅.
ArsonButCute@lemmy.dbzer0.com · 4 pts · 244d
I like Tk for banging out a UI really quick.