News for hackers. Stuff that matters.
Re:The impact of Apple Silicon Macs on Broadway by saagarjha on Friday December 25, 2020 @03:49PM (#25538929)
See https://lemire.me/blog/2020/12/13/arm-macbook-vs-intel-macbo... for SIMD performance. M1 is fairly competitive even under Rosetta. Also, if your audio code is self-modifying, I really have no idea what you could possibly be doing.
Re:The impact of Apple Silicon Macs on Broadway by marcan_42 on Saturday December 26, 2020 @01:22AM (#25541830)
Self-modifying code is just one example. The point is there is no way to positively identify all basic block entry points on x86 (especially due to its variable-length instructions). That means that there is always the possibility that the AoT didn't catch everything, and then your plug-in takes a novel uncached codepath at some point, the JIT fires, and you get a real-time constraint violation and a drop out.

Also, audio companies sometimes like to use "fun" DRM/copy protection systems.

Besides, audio apps themselves doing JIT would not be unheard of. For example, that'd be a very efficient way of implementing a modular synth. Those apps could JIT in a realtime-safe way; Rosetta can't (it doesn't have enough info).