3 ms·
How is this different than what Apple did for the x86 -> ARM transition?
by spullara 2y ago
How is this different than what Apple did for the x86 -> ARM transition?
- anaisbetts 2y agoARM64EC is usually for stuff like plugins or really large apps - most people will simply compile an ARM64 and x64 version of their app
- duskwuff 2y agoRosetta 2 operates on the process level -- on an Apple Silicon system, a process can run an ARM executable and run all ARM code, or can run an x86_64 executable and run all x86_64 code. ARM64EC allows processes to run a mixture of native and emulated code. Whether this is actually useful is debatable, but the option exists.
- tedunangst 2y agoRosetta allows loading x86 plugins into arm apps.
- duskwuff 2y agoSource? My understanding is that cross-architecture plugins are handled out of process over XPC.
- tedunangst 2y agoThat sounds right. I think I misread a source. Was just looking at this yesterday, but didn't look close enough.
- tedunangst 2y agoIt requires you to recompile your application a third time if you want to load x64 plugins, and then it becomes incompatible with arm plugins.