Hacker News new | past | comments | ask | show | jobs | submit login

Doesn't this break the policy of Apple? As I know, Apple allows apps only made of some restricted languages from when Adobe tried to make iOS apps with Flash.



The policy used to exist, it was Section 3.3.1 of the iOS Developer Agreement in 2010 [1]:

"Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs"

Steve Jobs also wrote some emails on the issue [2], but by September 2010 and following a potential Federal Trade Commission investigation, the clause had been removed again [3].

[1] https://daringfireball.net/2010/04/iphone_agreement_bans_fla...

[2] https://www.taoeffect.com/blog/2010/04/steve-jobs-response-o...

[3] http://www.peterfriese.de/apples-updated-developer-license-t...


No, Apple does not allow JIT. It does not dictate language use.


I'm using LuaJIT on iOS just fine, and experienced no restrictions from Apple about using it.


LuaJIT for iOS, confusingly, does not do JITing. Normal apps on iOS are unable to mark pages as executable, so it's impossible to JIT; it's not just an app store review-enforces restriction.


Alas, you are right and I have learned something new today. It seems that Safari is the only JIT'able process we developers can gain access to ..


I did actually think that Apple required the use of Apple's developer tools for iThing apps --- so unless you can compile your target language into C, C++, ObjC (or Swift, I suppose) and then use XCode to compile the final binary, your app would be rejected. Has this changed?


This project compiles the Go code to a C library that can be linked quite easily with ObjC.


Yeah, but it's still producing native code via a non-Apple toolchain. I'd want to check the T&Cs carefully, in case Apple notice and pull the app further down the line.


There are plenty of apps on the App Store with using Flash (Adobe AiR). As well as other languages like JS (React Native, Titanium).

I think you're thinking of when iOS decided not to support Flash in the browser.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: