Apple App Store: Difference between revisions
m Removed line breaks. |
heavily reworded the JIT section trying to make it less subjective with more objective, neutral wording. hopefully it's not nerdy enough |
||
Line 109: | Line 109: | ||
==JIT== | ==JIT== | ||
[[wikipedia:Just-in-time compilation|JIT]], which stands for Just-In-Time, is a method of compilation where code, instead of being compiled before being distributed (like an EXE), gets compiled into machine code in real time before being executed. This method of compilation allows for much faster loading times (when talking about websites), faster emulation (when emulating a different architecture) and faster program execution (when executing a program written in an interpreted language like JavaScript, Python, Lua...) | |||
Apple's [https://apps.apple.com/app/swift-playgrounds/id908519492 Playgrounds] app on iPad is also allowed to JIT. | Safari is allowed to use the JIT compiler to compile code from any site, and Apple's [https://apps.apple.com/app/swift-playgrounds/id908519492 Playgrounds] app on iPad is also allowed to use JIT. Playgrounds bundles Apple's [[wikipedia:Swift (programming language)|Swift]] compiler, and shares backend code with the version of Playgrounds found in [[wikipedia:Xcode|Xcode]]. | ||
Competing apps like Pythonista (a Python IDE), emulators like Delta and UTM, and terminal environments like iSH, are not allowed to JIT | Competing apps like Pythonista (a Python IDE), emulators like Delta and UTM, and terminal environments like iSH, are not allowed to use JIT, instead having to interpret code, which comes with serious performance degradation and is more computationally expensive. | ||
An example of apps being heavily affected by this restriction is UTM SE. UTM is a port of [[wikipedia:QEMU|QEMU]] for iOS, iPadOS and MacOS, allowing users to create [[wikipedia:Virtual_machine|VMs]] that can run various OSes. The iPhone's hardware capable enough to emulate various OSes at full speed, but due to Apple's JIT limitation the team behind UTM had to create UTM SE (slow edition) that doesn't require JIT, but is nowhere near as fast as UTM with JIT. While methods that enable JIT for apps other than Safari and Playgrounds exist (some currently working on iOS 18.5), Apple does not allow the use of JIT in notarized apps, meaning that programs that support JIT will have to be sideloaded, which comes with its own set of restrictions. | |||
In the EU, Apple gave web browsers permission to use rendering and JavaScript engines other than the built-in with Apple WebKit/JavaScriptCore, with the option for JS engines to use JIT. The browser still has to be approved for an entitlement, and then must work within APIs provided by Apple for it. But, as of January 2025, no browsers that use different engines than the built-in ones have been released, mainly due to arbitrarily imposed restrictions, meant to discourage the usage of third-party engines.<ref>{{Cite web |title=Mozilla says Apple’s new browser rules are ‘as painful as possible’ for Firefox |url=https://www.theverge.com/2024/1/26/24052067/mozilla-apple-ios-browser-rules-firefox |url-status=live |access-date=16 Mar 2025 |website=[[The Verge]]}}</ref> | |||
However, Apple still does not allow different engines outside of the EU, with or without JIT support.<ref>{{Cite web |title=App Review Guidelines |url=https://developer.apple.com/app-store/review/guidelines/#2.5.6 |url-status=live |access-date=16 Mar 2025 |website=[[Apple Developer]]}}</ref> | |||
==Sandbox== | ==Sandbox== |