-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Apple silently released JIT APIs for iOS 17.4+ / iPadOS 18+: https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon
They are the same APIs that were previously available on macOS - pthread_jit_write_with_callback_np and PTHREAD_JIT_WRITE_ALLOW_CALLBACKS_NP, and they require new entitlements. Unfortunately, they are also distinct from the original pthread_jit_write_protect_np API that was introduced with macOS 11 to support Apple Silicon, and it requires a different approach to use it.
Neither CoreCLR nor MonoVM is currently structured in a way to make it easy to adapt.
This may possibly be interesting if we revive the CoreCLR on iOS (Simulator) PR, or as an option to enable JIT for Hot Restart (MonoVM) scenarios when deploying to iOS from Windows.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status