Converting x86 apps to ARM statically is not a thing, and will *never* be a thing, because that would break mathematically proven theorems about computer science (beyond obvious cheats like just embedding the emulator into the "converted" app).
-
-
Show this thread
-
You *always* need to JIT, you *always* need an escape hatch no matter how much work you try to do ahead of time, and you *cannot* statically infer all the information required for full static translation in all but the simplest cases.
Show this thread -
The best Rosetta 2 can do here is just scan the executable ahead of time, and try to JIT everything it *guesses* it might need later ahead of time. It won't know until the app runs whether it guessed right. It's an emulator. A nice, well engineered emulator.
Show this thread -
(Alternately, if you subscribe to "emulators don't translate, they interpret", then qemu and Dolphin aren't emulators either)
Show this thread -
Wine Is Not an Emulator, but wine works under Rosetta 2, which is. Is Rosetta 2 statically translating Windows apps to macOS ARM? Obviously not :-) Is Rosetta 2 JITting Windows apps when run through Wine? Sure! Is it caching those translations? We don't know! Open question.
Show this thread
End of conversation
New conversation -
-
-
Ok but that doesn't exactly roll off the tongue now does it
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Is "no self-modifying code" (so no trampolines/dynamic libraries/no changes to the executable memory regions and no region changes) a sufficiently strong condition to allow complete ahead-of-time translation?
-
not... really, because you can jump in the middle of an x86 instruction and you can't necessarily predict every indirect jump. so in theory you can ahead-of-time translate every possible parsing of the x86 code, but in practice that would be incredibly wasteful
- Show replies
New conversation -
-
-
It's basically BT, not first one, not last one.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This is kinda cranky and dismissive. Instead, when you see something with unusual performance characteristics thanks to everything from silicon to bits, producing results that can be better than native, it’d be super interesting to dive in and see how they’re doing it, no?
-
Just call it MAGIC and move on....pic.twitter.com/zDYWvMIrwm
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.