Did Electron just suffer a major setback at WWDC?

Stephen Belovarich - Jun 3 '19 - - Dev Community

With the beta of Xcode 11, Apple made it easy for developers to migrate iPad apps to MacOS. Now I don't think this spells DOOM for hybrid web apps made with Electron in MacOS, but it certainly would make me pause at a company where separate teams develop the same product for iPad, but have a different web based implementation for Desktop Mac and Windows. It makes a lot more sense to go native for performance or at the very least develop a PWA.

As a developer I'm torn. I like the idea of hybrid web apps built with Electron because it's the platform in which I develop, but having so many node processes running on my machine simultaneously can be a burden on performance. This is an unintended consequence of the hybrid web application boom we've had over the past 5 years.

If you run

ps aux | grep node
Enter fullscreen mode Exit fullscreen mode

in your Terminal on MacOS you can see all the active node processes running currently.

If you've got Adobe CC, Slack, or VS Code open there will be a long list of processes running, alongside any node processes you may require for developing a project.

I dunno about you, but I want a speedy machine for developing. I don't need all these other processes running. Except VSCode, which is currently my IDE of choice. There are times extensions can run wild in VSCode, usually after a monthly update and the extension authors have failed to update as well.

There is nothing wrong with Node.js. The V8 engine is so performant it runs on a Raspberry Pi, quite well in my experience. It's only when several processes start running that performance can suffer.

It's not like we can use the simplicity argument anymore when the same team could potentially develop an app for the entire Apple ecosystem and in turn get the performance of a native application. Might as well throw out that card.

It may be too early to tell the ramifications of this move by Apple to allow developers to migrate iPad apps over to MacOS, but wondering what you think? Maybe it's finally time to dive in and learn Swift.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player