faster-cpython icon indicating copy to clipboard operation
faster-cpython copied to clipboard

Possible JIT on iOS14?

Open isidentical opened this issue 4 years ago • 2 comments

Some platforms do not allow runtime code generation, for security reasons. The prime example of this is the iOS platform for Apple mobile devices. Only the first two stages would help performance on those platforms.

I dont really know anything about Apple systems, but from the title I thought you might be interested about this: https://www.google.com/amp/s/9to5mac.com/2020/11/06/ios-14-2-brings-jit-compilation-support-which-enables-emulation-apps-at-full-performance/amp/

isidentical avatar Nov 07 '20 20:11 isidentical

Apple allow runtime code generation for their own code, but not for apps. They presumably allow their browsers to do runtime code generation as well. Whether they would allow Python to do JIT compilation, is more of a business/political issue than a technical one.

markshannon avatar Jan 25 '21 23:01 markshannon

What if we just compile ahead of time against these platforms instead of JIT? Does it increase complexity by a lot?

To be fair to the idea even more, this also makes the code more transparent; overall a good feature. I'd like to know about the concerns of this idea, I assume that it has been considered already.

caniko avatar Nov 22 '22 14:11 caniko