Also, everyone please stop eating up Apple's marketing bullshit and calling Rosetta 2 an "Ahead-of-Time Translator, Not An Emulator" as if it is some Fundamental Difference that Makes It Fast. It's a JIT emulator, with a cache, with opportunistic partial ahead of time warming.
Yes, *if* the thing you're translating has been specifically designed with constraints and metadata to make it possible, then you can do it. That's, after all, what LLVM bitcode is. Also maybe you can truly AoT NaCL x86 binaries? Just a guess, that would be interesting.
-
-
I mean this is all something Android does too ever since ART, though I believe it still has to fall back to JIT for dynamically loaded craziness.
-
ART is what I was thinking of, I just didn't explicitly name it. I don't know much about how it works internally though, since I don't even run Android.
End of conversation
New conversation -
-
-
I think that's what pNaCl is (was) for. But yeah, x86 is definitely NOT something defined with translation in mind.
-
pNaCl is the portable version, but x86 NaCl is "verified" like Java is, which means you know all basic block entries I believe, with restrictions on indirect branching, so maaaaybe you can make it work?
- 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.