3 ms·
> Rosetta 2 is just an ordinary AOT transpiler with a few magic flags in their ARM fork that lets them optionally match Intel semantics for code that needs it,
by kevingadd 4y ago
> Rosetta 2 is just an ordinary AOT transpiler with a few magic flags in their ARM fork that lets them optionally match Intel semantics for code that needs it,
This really understates how significant it is that Apple customized their CPUs in order to give their emulator good performance. Ordinary emulator developers can't do this.
- mike_hearn 4y agoNo, but that's fundamental. You have to pick a memory model the moment you support shared memory multi-threading, and then either you'll be incompatible with existing code or you'll have to implement that stricter memory model on ARM. WASM just punts on shared memory multi-threading, or does it?