4 ms·
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 app
by The_Colonel 6y ago
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)
- mcintyre1994 6y agoOut 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.
- The_Colonel 6y agoI'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.