4 ms·
Why would there be "legal issues may restrict use of an interpreter in iOS applications"?
by andyfleming 11y ago
Why would there be "legal issues may restrict use of an interpreter in iOS applications"?
- themartorana 11y agoBecause Go for iOS is a thing now, and iOS is the only platform currently that would prohibit the use of run-time interpreted code.
- cypher543 11y agoInterpreted code is now allowed on iOS. You just can't run code that has been downloaded over a network with the exception of content loaded in a UIWebView.
- choppaface 11y agoAs long as the interpreter doesn't execute any prohibited system calls, the iOS store reviewers won't care and won't have a point to argue. OpenGL shaders are 'interpreted' code (though explicitly allowed). Protobuf messages can be 'interpreted' code. You probably can't get away with shipping Go code as a resource (or fetching it in cleartext over the network), but you probably should secure the input to your interpreter anyways. There's not much difference between downloading and parsing several hundred kb of JSON and downloading and running a script. I mean, there is, but the iOS store peeps don't need to know ;)
- geon 11y agoThat was true like 5 years ago. The author is just misinformed.
- thegeneral 11y agoMany thanks, I'll remove that line.