在App Store的iOS应用中是否禁止使用JIT(即时)编译代码? [英] is it prohibited using of JIT(just-in-time) compiled code in iOS app for AppStore?

查看:527
本文介绍了在App Store的iOS应用中是否禁止使用JIT(即时)编译代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说iOS AppStore中不允许JIT编译代码,因为禁止将可执行代码放入堆中.是这样吗?还是只是谣言?

I heard that JIT compiled code is not allowed in iOS AppStore because placing executable code in heap is prohibited. It that right? Or just a rumor?

推荐答案

  1. 不允许安装代码(或"是3.3.2中的关键字).所有内容(Javascript除外)都必须静态链接.

  1. Installable code isn't allowed ("or" is the key word in 3.3.2). Everything (except Javascript) has to be statically linked.

JIT编译为Javascript源代码文本. (这不是开玩笑,有一个商业编译器可以做到这一点.)将其编译为字节代码以供编写Java的解释器执行并在UIWebView中运行,可能会使审阅者感到困惑,以至于拒绝这样做的应用程序.

JIT compiling into Javascript source code text appears to be allowed. (Not a joke, there is a commercial compiler that does this.) Compiling into bytecode for execution by an interpreter written Javascript and running in a UIWebView may confuse the reviewers enough to possibly reject an app doing that.

iOS安全沙箱可能会杀死试图跳入任何动态生成的数据的所有应用程序.

The iOS security sandbox will likely kill any app that tries to jump into any dynamically generated data.

这篇关于在App Store的iOS应用中是否禁止使用JIT(即时)编译代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆