News for hackers. Stuff that matters.
Re:Ivy: iOS app written in Go by hammerha on Monday July 13, 2015 @02:08AM (#9876684)
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.
Re:Ivy: iOS app written in Go by SyneRyder on Monday July 13, 2015 @06:29AM (#9877247)
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...

Re:Ivy: iOS app written in Go by glibgil on Monday July 13, 2015 @02:19AM (#9876705)
No, Apple does not allow JIT. It does not dictate language use.
Re:Ivy: iOS app written in Go by fit2rule on Monday July 13, 2015 @06:50AM (#9877311)
I'm using LuaJIT on iOS just fine, and experienced no restrictions from Apple about using it.
Re:Ivy: iOS app written in Go by rsynnott on Monday July 13, 2015 @07:24AM (#9877408)
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.
Re:Ivy: iOS app written in Go by fit2rule on Monday July 13, 2015 @11:46AM (#9878845)
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 ..
Re:Ivy: iOS app written in Go by david-given on Monday July 13, 2015 @05:32AM (#9877120)
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?
Re:Ivy: iOS app written in Go by fit2rule on Monday July 13, 2015 @06:49AM (#9877307)
This project compiles the Go code to a C library that can be linked quite easily with ObjC.
Re:Ivy: iOS app written in Go by david-given on Monday July 13, 2015 @12:26PM (#9879117)
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.
Re:Ivy: iOS app written in Go by GeneralTspoon on Monday July 13, 2015 @05:21AM (#9877093)
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.