Live data from Hacker News

Electron Fiddle: Get started with Electron

electronjs.org

41–50 of 104 posts

Re: Electron Fiddle: Get started with Electron

#41
post #7
post #2

Honest question, when solutions like https://github.com/tauri-apps/tauri exist out there that promise smaller build sizes and similar developer experiences, are folks still using Electron to build new apps?

Yeah Tauri is in Rust, whereas I want to write the backend and frontend in the same language (TS) and share code

Rust is a non-starter for the majority of web devs. That’s why Tauri had remained niche.

Maybe try https://github.com/socketsupply/socket

Re: Electron Fiddle: Get started with Electron

#42

Earlier quoted context omitted.

I’ll reply to your question with a question: once VSCode has proved one could build hyperscale complex apps that perform well, would you be fast to bet for less proven tech? I’ve had a great experience using VSCode on occasion (I’m a JetBrains guy), and loads of other people, including some great programmers, rave about it. I’ve similarly had a fairly solid experience with Spotify desktop across different platforms.…

Also: Figma, Linear, Notion, Slack, Superhuman, Pitch, Loom. All Electron. I’ve never understood the hate Electron gets on HN, when it powers so many great products that users love.

I don't think you realize how slow those are, how slow they make your entire machine (eating the RAM for no good reason) and how insanely fast similar apps could be if written in something that doesn't involve massive bloat.

Electron is also how Microsoft essentially broke Skype (on purpose?) IMO.

For me Electron just stands for lazy companies/devs who are not interested in producing something elegant that runs as fast as possible.

Re: Electron Fiddle: Get started with Electron

#43
post #21

Earlier quoted context omitted.

> VSCode has proved one could build hyperscale complex apps that perform well did it though? It might perform "good enough", but its still an order of magnitude worse than native solutions. the only reason to ever use Electron or similar is for rapid prototyping. once you have an MVP, you should immediately work towards a native solution. people seem to forget that part, out of laziness or ignorance.

I use VS Code daily and I have never had performance issues. That obviously doesn’t apply to all folks. Also, it seems presumptuous to prescribe what appropriate solutions are for all people of all time. There are many, many places where an electronjs would be just fine.

I did use it and find it subpar to JVM based IDE (namely Jetbrains). Yes, both are memory hogs, but Jetbrains feels smoother.

Re: Electron Fiddle: Get started with Electron

#44
post #7

Earlier quoted context omitted.

Yeah Tauri is in Rust, whereas I want to write the backend and frontend in the same language (TS) and share code

Rust is a non-starter for the majority of web devs. That’s why Tauri had remained niche. Maybe try https://github.com/socketsupply/socket

> That’s why Tauri had remained niche.

> try https://github.com/socketsupply/socket

Points to an even less popular niche.

Re: Electron Fiddle: Get started with Electron

#45
post #30

I struggled between Flutter and Electronjs, checked at Tauri too. Electronjs does the 3 Desktops (linux,windows,macos). Tuari is new, serves the same user base, smaller, but you need learn Rust. Flutter does 3 Desktops and 2 Mobile platforms(android,ios), but you need learn Dart. While doing my own research, I eventually chose Flutter, reasons are: * it does 5 platforms fairly well * its user base keeps rising rapidl…

I don't see the problem with using Flutter. It has proper support from Google for all the major OSes for both Desktop and Mobile. A worthy and serious alternative to both Electron and React Native. It sits in the middle of being faster and smaller than Electron, and being more easier to pick up than Rust with Tauri. I would rather build a desktop and mobile app using Dart with Flutter than with Rust using Tauri, espe…

I see one huge problem with Flutter. It's supported by Google. And uses Dart, which is also supported by Google. And sees very little use outside it.

Re: Electron Fiddle: Get started with Electron

#46

Earlier quoted context omitted.

Also: Figma, Linear, Notion, Slack, Superhuman, Pitch, Loom. All Electron. I’ve never understood the hate Electron gets on HN, when it powers so many great products that users love.

I don't think you realize how slow those are, how slow they make your entire machine (eating the RAM for no good reason) and how insanely fast similar apps could be if written in something that doesn't involve massive bloat. Electron is also how Microsoft essentially broke Skype (on purpose?) IMO. For me Electron just stands for lazy companies/devs who are not interested in producing something elegant that runs as fa…

Honest question: where does all the RAM go? If a chrome tab eats about 200 MB ram, shouldn’t an electron app consume about the same? After all Electron is just an SPA with all the assets packaged with the browser engine. Like the zip’d web archives of yore

Re: Electron Fiddle: Get started with Electron

#47
post #45
post #30

Earlier quoted context omitted.

I don't see the problem with using Flutter. It has proper support from Google for all the major OSes for both Desktop and Mobile. A worthy and serious alternative to both Electron and React Native. It sits in the middle of being faster and smaller than Electron, and being more easier to pick up than Rust with Tauri. I would rather build a desktop and mobile app using Dart with Flutter than with Rust using Tauri, espe…

I see one huge problem with Flutter. It's supported by Google. And uses Dart, which is also supported by Google. And sees very little use outside it.

Agreed; Dart seems like a dead end, let alone compared to Rust or Go.

Re: Electron Fiddle: Get started with Electron

#48

Earlier quoted context omitted.

I’ll reply to your question with a question: once VSCode has proved one could build hyperscale complex apps that perform well, would you be fast to bet for less proven tech? I’ve had a great experience using VSCode on occasion (I’m a JetBrains guy), and loads of other people, including some great programmers, rave about it. I’ve similarly had a fairly solid experience with Spotify desktop across different platforms.…

Also: Figma, Linear, Notion, Slack, Superhuman, Pitch, Loom. All Electron. I’ve never understood the hate Electron gets on HN, when it powers so many great products that users love.

"Powers" being a relevant word here. People love to call out various tech/choices for needlessly sending our energy into a black hole, has anyone run the numbers for Electron's negative impact versus a non-wasteful solution?

Re: Electron Fiddle: Get started with Electron

#49

Earlier quoted context omitted.

The ones of these I've actually used like Slack are doggie doo. Aside from using way more resources than a chat app should, last I checked basic UX was not close to on par with native, like right mouse clicks didn't do anything but bring up the built in browser menus.

>like right mouse clicks didn't do anything but bring up the built in browser menus. You should try this in slack again...

That UX decision has nothing to do w/ Electron.

Re: Electron Fiddle: Get started with Electron

#50

Earlier quoted context omitted.

Also: Figma, Linear, Notion, Slack, Superhuman, Pitch, Loom. All Electron. I’ve never understood the hate Electron gets on HN, when it powers so many great products that users love.

I don't think you realize how slow those are, how slow they make your entire machine (eating the RAM for no good reason) and how insanely fast similar apps could be if written in something that doesn't involve massive bloat. Electron is also how Microsoft essentially broke Skype (on purpose?) IMO. For me Electron just stands for lazy companies/devs who are not interested in producing something elegant that runs as fa…

> I don't think you realize how slow those are, how slow they make your entire machine (eating the RAM for no good reason)

You're on a forum full of software developers, I think you can give us credit for knowing exactly how much resources the apps we use take up.

Personally, I frequently run VSCode, Slack, Zoom, Chrome, and occasionally Loom at the same time on a machine with 8gb ram and it's fine. Until one of these new platforms like Tauri or Socket.sh catches up, the trade off for developers being able to develop once and run on multiple platforms is entirely understandable and clearly acceptable to most people.

Post reply on HN