News for hackers. Stuff that matters.
Re:Electron 11.0 released with support for Apple Silicon by mrzool on Friday November 20, 2020 @02:13AM (#25158008)
Mostly I would just want Electron to disappear overnight.
Re:Electron 11.0 released with support for Apple Silicon by TameAntelope on Friday November 20, 2020 @03:13AM (#25158343)
I'm both sad and confused about why there are so many negative comments about Electron, when I happily use Electron apps every day of my life and have no complaints at all about them. In fact, I'd like to start building Electron apps of my own, it actually looks like a ton of fun!

What is the experience I'm missing?

Re:Electron 11.0 released with support for Apple Silicon by catdawg on Friday November 20, 2020 @03:30AM (#25158436)
I think any technology where you can get something done quickly, and blurs the line between production and prototyping, gets a bad reputation because a lot of people misuse it. Essentially, I think you need to be able to have a strong engineering culture that takes the time to actually optimize things as the scale/scope changes.

As a not quite accurate example, think JS vs C++, there's no way you can hammer a bunch of C++ to get something working without not shooting yourself in the foot multiple times, so you have, to a certain extent, to properly develop it from the start. Whereas with JS, you can probably get something working quickly and prove your point. And it's very easy for this shitty JS solution to end up in production because it just works.

You can write very good JS code if you have the engineering culture for understanding it's importance, while with C++ it will be somewhat good from the start because it has to be. I think here is the same thing, for example what has been mentioned here, VSCode vs Slack.

Re:Electron 11.0 released with support for Apple Silicon by deergomoo on Friday November 20, 2020 @03:39AM (#25158499)
It is certainly possible to make high quality, well behaved software with Electron (VS Code is great), but it takes a hell of a lot of work, and seems to be the exception rather than the rule.

Look at Teams for example. The Electron desktop app is a slow, buggy, resource sucking mess. A video call with one person reduces my laptop battery from 8 hours to 2, fans going at full tilt the entire time. It uses its own notification system that doesn't (or at least didn't) respect the system notification settings. Lots of small things you innately expect to work, like being able to right click a message to edit it, simply do nothing.

Of course, take this with a grain of salt, because I'm generally of the opinion that the DOM is a mediocre target for applications, and that we all put up with it because it's attached to the world's greatest distribution mechanism. So to me, the fact that we'd want to bring all that awkwardness to the desktop and divorce it of its killer feature seems insane.

Re:Electron 11.0 released with support for Apple Silicon by vkoskiv on Friday November 20, 2020 @06:18AM (#25159367)
I love comments like this. Ideas that I've had for a long time articulated in a way I never could.
Re:Electron 11.0 released with support for Apple Silicon by mekster on Friday November 20, 2020 @04:52AM (#25158928)
Maybe they use computers from 10+ years ago, otherwise the complaint is weird.
Re:Electron 11.0 released with support for Apple Silicon by croes on Friday November 20, 2020 @04:58AM (#25158964)
Compare an electron app to a well written desktop app There is a difference in responsiveness. And installing a new browser instance for every app is a waste of disk space.
Re:Electron 11.0 released with support for Apple Silicon by bamboleo on Friday November 20, 2020 @02:17AM (#25158027)
If you don't want Electron apps, don't use them. It's not like they would exist without Electron.

The people who build Electron apps are, for the most part, people who wouldn't build an app otherwise.

Re:Electron 11.0 released with support for Apple Silicon by mrzool on Friday November 20, 2020 @03:07AM (#25158299)
> The people who build Electron apps are, for the most part, people who wouldn't build an app otherwise.

Would that be so terrible? I’m completely fine with having less software, if that means having better software.

> If you don't want Electron apps, don't use them. It's not like they would exist without Electron.

I don’t have a choice. I’m forced to use Teams for work. I need to restart my MacBook after every videocall.

Re:Electron 11.0 released with support for Apple Silicon by sime2009 on Friday November 20, 2020 @11:16AM (#25161811)
> I’m completely fine with having less software, if that means having better software.

But it doesn't work like that. Why would you suddenly have "better" software?

Re:Electron 11.0 released with support for Apple Silicon by anoncake on Saturday November 21, 2020 @07:17AM (#25169298)
The need for software doesn't go away, but bad programmers cannot fill it anymore. So the software is made by competent programmers instead.
Re:Electron 11.0 released with support for Apple Silicon by Can_Not on Saturday November 21, 2020 @04:23PM (#25172872)
I wouldn't say bad programmers, there's literally nobody offering me a job in rust/crystal/swift but electron and JS SPA jobs are countless.
Re:Electron 11.0 released with support for Apple Silicon by anoncake on Saturday November 21, 2020 @05:32PM (#25173257)
There are good programmers working with Electron, they're just in the minority.
Re:Electron 11.0 released with support for Apple Silicon by mixmastamyk on Friday November 20, 2020 @03:12AM (#25158339)
I need to use zoom now but would rather not install it. I put it on an old tablet and every one is happy.
Re:Electron 11.0 released with support for Apple Silicon by mrzool on Friday November 20, 2020 @04:33AM (#25158819)
Say what you want about Zoom, but performance-wise their app is absolutely amazing compared to Teams. I’m sure that the fact they choose to develop native apps instead of Electron crap has a lot to do with their success.
Re:Electron 11.0 released with support for Apple Silicon by tjoff on Friday November 20, 2020 @03:14AM (#25158350)
That would have been fine if one had a choice. If the rest of the team uses slack then well, you are also using slack.

And thus people start to actually believe that a chat-application must be this bloated. And because of that any competition that actually is developed is also using electron...

And those who actually do care either goes insane or finds another hobby, at least feels that way sometimes.

Re:Electron 11.0 released with support for Apple Silicon by pwdisswordfish4 on Friday November 20, 2020 @02:20AM (#25158046)
> The people who build Electron apps are, for the most part, people who wouldn't build an app otherwise.

It’s not a bug, it’s a feature.

Re:Electron 11.0 released with support for Apple Silicon by mrschwabe on Friday November 20, 2020 @02:30AM (#25158099)
Remember to stop using VSCode, since it's based on Electron
Re:Electron 11.0 released with support for Apple Silicon by rimliu on Friday November 20, 2020 @02:39AM (#25158139)
I did, moved to Nova.
Re:Electron 11.0 released with support for Apple Silicon by bamboleo on Friday November 20, 2020 @05:44PM (#25165968)
Enjoy your amazing but unsupported piece of software.

There was a little thing called Espresso 2, years ago. It was amazing.

The beautiful X-Ray view for CSS? Incompatible with SCSS.

It didn’t take long to reach the conclusion that my job changed enough that I could no longer use what made Espresso 2 great.

Re:Electron 11.0 released with support for Apple Silicon by WanderPanda on Friday November 20, 2020 @02:45AM (#25158171)
I guess e.g. MS Teams would exist, but in general I agree with you
Re:Electron 11.0 released with support for Apple Silicon by viktorcode on Friday November 20, 2020 @03:11AM (#25158327)
No one who uses Slack chose to use Slack.
Re:Electron 11.0 released with support for Apple Silicon by mythz on Friday November 20, 2020 @02:23AM (#25158060)
So ignore they exist & live the future you want. Any resurgence in Desktop Apps was because of Electron, many of which would not have been created otherwise.
Re:Electron 11.0 released with support for Apple Silicon by The_Colonel on Friday November 20, 2020 @02:41AM (#25158155)
Can confirm. Without electron my app would stay web app forever, without e.g. offline capabilities ...
Re:Electron 11.0 released with support for Apple Silicon by Klonoar on Friday November 20, 2020 @02:21AM (#25158053)
Well, there is some chance you can just run iOS/iPadOS forms of the apps (e.g, Slack) rather than Electron apps on M1. 's not as bleak.
Re:Electron 11.0 released with support for Apple Silicon by wayneftw on Friday November 20, 2020 @09:34AM (#25160750)
I'm glad that you and your cohort are not more than a very tiny minority.