Live data from Hacker News

Electron 11.0 released with support for Apple Silicon

electronjs.org

141–150 of 224 posts

Re: Electron 11.0 released with support for Apple Silicon

#141

Earlier quoted context omitted.

Visual Studio Code is fast on startup and that's it. It chokes on million LOC project while Eclipse and Intellij work fine.

I use it daily on multi-million LOC projects and it's just fine...

Out of interest, what language are your projects written in? I've had to work on C# .NET codebases of that size and have had the same issues as the previous response.

VSCode itself doesn't fall over, but code completion and error highlighting are painfully slow to catch up and several of the extensions that provide that functionality regularly crash out.

Re: Electron 11.0 released with support for Apple Silicon

#142
post #6

I hope applications like Teams, Discord, and others that have iOS / iPadOS apps allow users to use those rather than electron versions.

Afaik, Discord on iOS is also written in react but with a native renderer (react-native) instead of the web/desktop that uses react-dom. Not sure, but I thought i’ve seen a project where it was possible to render natively on deektop as well using react.

I believe React native is already there for windows 10, not sure how mature it is however.

Re: Electron 11.0 released with support for Apple Silicon

#143

Earlier quoted context omitted.

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)

Out of interest how come you don't plan to ship an ARM build? I naively didn't really realise there were any tradeoffs for the developer here.

Re: Electron 11.0 released with support for Apple Silicon

#144
post #121

Earlier quoted context omitted.

Your own sentence argues against itself: the team that built HHVM certainly are not "terrible PHP developers"...

You don't think its strange that facebook hired PHP programmers to create the product and then have to hire competent people to fix that shit as far removed from company logic as possible? Doesn't it kinda make you think, just a little?

I hope you are joking. Those people you call incompetent built arguably the best web application in the world propelling itself into a global corporate juggernaut and that qualifies as built by incompetent people?

The hubris is frightening.

Re: Electron 11.0 released with support for Apple Silicon

#145

Earlier quoted context omitted.

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)

Out of interest how come you don't plan to ship an ARM build? I naively didn't really realise there were any tradeoffs for the developer here.

I'm not a mac user so I don't own one. Currently I cross compile Mac (and Windows) build on a linux machine and from time to time test those builds in a VM (not sure about the legality).

I don't think this will be possible with ARM build - cross compilation probably won't be supported for ARM, I can't run ARM VM on my x86 dev machine, there's the new requirement for mandatory notarization (possible only on mac) ... maybe more but that's enough anyway.

Re: Electron 11.0 released with support for Apple Silicon

#146
post #93

Earlier quoted context omitted.

> 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 video…

I need to use zoom now but would rather not install it. I put it on an old tablet and every one is happy.

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

#147
post #39

What M1 giveth, Electron taketh away. Sigh.

If only the issue was limited to Electron... I often feel like Electron is more a declaration of defeat, like: hey no matter where you look at, software bloat keeps eating the precious advances in power provided by hardware. So let's at least get some comfort and value out of that. (Electron does put multiplatform desktop development within reach of 100x more developers than Qt/etc)

I think it just comes down to economics. For the cost of a developer day-rate you can buy extremely powerful hardware. So which resource do you want to conserve - your developer time or your hardware resources?

Especially the fact that the “hardware resources” isn’t even your cost it’s your customers cost.

Re: Electron 11.0 released with support for Apple Silicon

#149
post #138
post #39

Earlier quoted context omitted.

If only the issue was limited to Electron... I often feel like Electron is more a declaration of defeat, like: hey no matter where you look at, software bloat keeps eating the precious advances in power provided by hardware. So let's at least get some comfort and value out of that. (Electron does put multiplatform desktop development within reach of 100x more developers than Qt/etc)

I'm excited about Tauri: https://github.com/tauri-apps/tauri

There are tons of supposedly lighter weight electron alternatives. Why are they not more popular?

Re: Electron 11.0 released with support for Apple Silicon

#150
post #27

Mostly I would just want Electron to disappear overnight.

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?

Maybe they use computers from 10+ years ago, otherwise the complaint is weird.
Post reply on HN