Live data from Hacker News

Electron 11.0 released with support for Apple Silicon

electronjs.org

61–70 of 224 posts

Re: Electron 11.0 released with support for Apple Silicon

#61

Earlier quoted context omitted.

> 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.

Remember to stop using VSCode, since it's based on Electron

I did, moved to Nova.

Re: Electron 11.0 released with support for Apple Silicon

#62
post #51
post #27

Mostly I would just want Electron to disappear overnight.

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.

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

#64
post #27

Mostly I would just want Electron to disappear overnight.

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.

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

#65
For some reason this announcement gets displayed to me in a unholy mix of French and English:

> Electron 11.0.0 est disponible ! It includes upgrades to Chromium 87, V8 8.7, and Node.js 12.18.3. We've added support for Apple silicon, and general improvements. Lisez la suite ci-dessous pour plus de détails !

> La team Electron est excitée d'annoncer la sortie de Electron 11.0.0 ! Vous pouvez l'installer avec npm via npm install electron@latest ou le télécharger sur notre site web. The release is packed with upgrades, fixes, and new support for Apple's M1 hardware.

Re: Electron 11.0 released with support for Apple Silicon

#67
post #31

I am really curious why the response to Apple Silicon is so prompt vs when Microsoft did WinRT or ARM versions nobody really cared. What is the difference? Was there some problem in compilation tool-chain or what?

> I am really curious why the response to Apple Silicon is so prompt vs when Microsoft did WinRT or ARM versions nobody really cared.

Unless I misread your question, it is because the M1 is a vastly superior chip not just to the Microsoft ARM efforts, but also to all the Intel efforts.

Re: Electron 11.0 released with support for Apple Silicon

#68
post #18

From their blog post about Apple Silicon[1] > In the future, we will release a package that allows you to "merge" your arm64 and x64 apps into a single universal binary, but it's worth noting that this binary would be huge and probably isn't ideal for shipping to users. It seems like things are going to get a bit confusing with Electron apps, and with the number of Electron apps that exist, this transition might not…

> it's worth noting that this binary would be huge and probably isn't ideal for shipping to users Funny, because that's what I've always considered of Electron. I wonder where the breaking point for Electron is?

Given that a run of the mill game weights north of 50 gigs, I don't think an additional 100 or so megs per app would be noticeable.

Re: Electron 11.0 released with support for Apple Silicon

#69

Earlier quoted context omitted.

Why would Electron run anymore or less natively with this change?

I’m guessing Electron apps worked without explicit support via Rosetta 2, but with explicit support the performance should be better. And - speculating - I’d guess that there’s quite a lot of code in Electron apps that isn’t AOTed by Rosetta, and that it would have more performance implications there than a native x86 Mac App would just because it has a lot of ongoing transpilation to do. With this change they can cu…

The problem is that Electron is essentially 2 big VMs - you can AOT the VM code, but not the code VMs produce.

So yes, rosetta performance loss on electron apps would be significantly larger than on native x86 apps.

(I'm probably going to find out since I don't plan to ship ARM build of my electron app)

Re: Electron 11.0 released with support for Apple Silicon

#70

What M1 giveth, Electron taketh away. Sigh.

Hang on, I use Visual Studio Code daily and it’s really fast? Certainly compared to XCode or Jet Brains IDEs.

That's something I wonder too. What VS Code does right that, let's say Slack, fails on?
Post reply on HN