"What problem are you solving?"
"Hm?"
Community Rules
You must post before you leave
Be nice. Assume others have good intent (within reason).
Block or ignore posts, comments, and users that irritate you in some way rather than engaging. Report if they are actually breaking community rules.
Use content warnings and/or mark as NSFW when appropriate. Most posts with content warnings likely need to be marked NSFW.
Most 196 posts are memes, shitposts, cute images, or even just recent things that happened, etc. There is no real theme, but try to avoid posts that are very inflammatory, offensive, very low quality, or very "off topic".
Bigotry is not allowed, this includes (but is not limited to): Homophobia, Transphobia, Racism, Sexism, Abelism, Classism, or discrimination based on things like Ethnicity, Nationality, Language, or Religion.
Avoid shilling for corporations, posting advertisements, or promoting exploitation of workers.
Proselytization, support, or defense of authoritarianism is not welcome. This includes but is not limited to: imperialism, nationalism, genocide denial, ethnic or racial supremacy, fascism, Nazism, Marxism-Leninism, Maoism, etc.
Avoid AI generated content.
Avoid misinformation.
Avoid incomprehensible posts.
No threats or personal attacks.
No spam.
Moderator Guidelines
"What problem are you solving?"
"Hm?"
misread this as “What problem are you smoking?”
“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
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 ?
On linux package manager is the preferred method to update.
If I recall that's cause it doesn't have permission to do anything to the folder it lives in or some shit.
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?
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?
I wish I had a petabyte ssd! There'd be so much room for activities!
Pff, barely enough for the latest open source mouse driver.
Thats the joke
Lol thank you, I'm dumb
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.
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
Electron might have OS specific bugs.
Better build it with Electron and only distribute it as a Windows VM.
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.
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.
✨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.
"Well it's more responsive than the previous version!"
"Oh, what was the previous version like?"
"Dunno, it just crashed on launch every time."
640k is all you need.
-Some guy who totally didn’t go to Epstein island
What alternatives are there? Qt and gtk is awkward to use
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 😅.
I like Tk for banging out a UI really quick.
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.,......
do you smell toast?
i can smell the electron toast notifications.... otherwise, no- just som tea i just made ~
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