Live data from Hacker News

Electron 11.0 released with support for Apple Silicon

electronjs.org

161–170 of 224 posts

Re: Electron 11.0 released with support for Apple Silicon

#161

Earlier quoted context omitted.

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?

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

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

#162

Earlier quoted context omitted.

Unfortunately it looks like Apple have taken this opportunity to drop support for alternative OSes entirely. Turns out this isn't true. They showed Debian running in a VM on a prototype Apple Silicon Mac hardware in June at WWDC. My guess is that Apple will provide access to enough hardware features of the M1 Macs via their hypervisor framework, to enable alternative operating systems to run ok. Docker for M1 Macs is…

Apple also has XQuartz, so running a desktop environment from a virtual machine might even be feasible.

Is XQuartz maintained anymore? I've had this feeling that it's basically been on life support for years now.

Re: Electron 11.0 released with support for Apple Silicon

#163
post #126
post #68

Earlier quoted context omitted.

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.

It's a difference if I have a 50GB game with high res textures or a simple app with 100MB which as a native app would only need less than 1MB. Web technologies are more and more about developer convenience instead of user convenience.

Feel free not to use them then.

It's usually more along the lines of product owners preferring features over speed though

Especially if the product owner is the developer itself, as features are way more fun to produce then fighting through some native docs which sometimes don't even work anymore.

Re: Electron 11.0 released with support for Apple Silicon

#164
post #126
post #68

Earlier quoted context omitted.

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.

It's a difference if I have a 50GB game with high res textures or a simple app with 100MB which as a native app would only need less than 1MB. Web technologies are more and more about developer convenience instead of user convenience.

> Web technologies are more and more about developer convenience instead of user convenience.

Clearly. But I wonder: If electron didn't exist, would e.g.: Slack or Discord applications be native or wouldn't exist at all. I'm quite convinced that the latter is true.

Re: Electron 11.0 released with support for Apple Silicon

#165
post #135

Earlier quoted context omitted.

Slack is really weird. It seems like they would have the resources to do native applications. I can't fault anyone for doing an Electron app as a demo, prototype, MVP, that's seems completely reasonable. What I don't get is why they don't want to make a native macOS client, or Windows client. For Linux I get that they don't necessarily know if it should be GTK, QT, should they adopt KDE standards or Gnome, something…

They have to build and maintain the web version regardless. Why also write individual clients for Windows, Mac and Linux when they can simply wrap the website in a thin desktop wrapper and call it a day?

Because they care about the user experience and delivering the best possible product to their customers? Maybe not.

Re: Electron 11.0 released with support for Apple Silicon

#166
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)

" (Electron does put multiplatform desktop development within reach of 100x more developers than Qt/etc)" This! The old joke of Eight Megabytes And Constantly Swapping for Emacs is not relevant today any more. Same will happen with Electron, developer productivity will trump anything.

s/productivity/laziness/

Re: Electron 11.0 released with support for Apple Silicon

#167
post #141

Earlier quoted context omitted.

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.

Python — sad to hear that the C# tooling isn't great on large codebases though :(

Re: Electron 11.0 released with support for Apple Silicon

#168
post #138

Earlier quoted context omitted.

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?

Corporate backed marketing and geographically centralized mindshare.

Re: Electron 11.0 released with support for Apple Silicon

#169
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)

As someone who switches between Windows and macOS, I'd rather every app I use be Electron and available on both OS than native and only available on one. Native does basically nothing for me that matters when it comes to accomplishing things. Just OS lock-in. Loading a little faster or being a little snappier is a small consolation.

As much as the community like to complain about it, I find that the popularity of Electron has been a real saver for Linux on the desktop. It finally has all the major applications available, often officially supported. Yes it's slow, but at least it's there.

Re: Electron 11.0 released with support for Apple Silicon

#170
post #90

i don't recall such support when msft was launching arm based laptops. does anyone have insight to why this is so? is it a case of apple developer relations doing an outstanding job engaging with the community?

To Microsoft, ARM64 is a hobby. Windows 10 ARM64 laptops went on sale in February 2018, but Microsoft didn't release an official toolchain with ARM64 support (VS 15.9) until November 2018! Even an "early preview" didn't come out until May 2018. Combine that with the lack of 64-bit Intel emulation support (which is coming out...any day now), and it's clear this is just a hobby for Microsoft. And Qualcomm too, since th…

Heck, Microsoft themselves didn't release a native VSCode for those machines until May... 2020. https://twitter.com/joaomoreno/status/1266005299661545474
Post reply on HN