http://www.mosync.com/documentation/manualpages/runtime-architecture”rel=“nofollow” MoSync的运行结构?
证书 核心问题。 我认为,它是一个虚拟机器,在java vm运行,并按行文解释编码线。
但是,重组的核心工作如何? 这是一种按本地法典汇编手法的手法吗? 但当时我不理解这个主题。 还是有可能,我需要其他运行时间模块,哪怕是机器代码?
增 编
http://www.mosync.com/documentation/manualpages/runtime-architecture”rel=“nofollow” MoSync的运行结构?
证书 核心问题。 我认为,它是一个虚拟机器,在java vm运行,并按行文解释编码线。
但是,重组的核心工作如何? 这是一种按本地法典汇编手法的手法吗? 但当时我不理解这个主题。 还是有可能,我需要其他运行时间模块,哪怕是机器代码?
增 编
我刚刚看到马蒂亚斯在我放弃回答时作了答复,但我只是说,自它进一步阐述某些要点以来,它已经取得了任何进展:
首先,你的C/C++利用我们的海关海合会的支持者,由海合会汇编到MoSync IL(中间语言)。 然后,对一些平台(包括安乐器、 Sym子和视窗移动电话)来说,该电离层电离层被装入“管道-托醇”,后者是一个组装机/链路器/喷射器,可对不同的平台做不同的事。 这里有几个变量:
对JavaME和我们即将释放的黑莓产品而言,管道-托ol产生MoSync按te编码,即双手、契约、基于登记的代表。 该星号与包含一台虚拟机器的MoSync操作时间合并。 当您的申请开始时,它就读到星号中,并开始解释。
For Android, Symbian, Windows Mobile etc. the process is similar, but instead of interpreting the code, what the runtime core does is to go through the entire code, and recompile it into ARM machine code on the device. Once that is done, is starts executing the ARM code it just created.
对OS装置而言,故事仍然有点不同,而不是将MoSync IL改为MoSync bytecode,而是将代码改为C来文方代码,并创立了一个Xcode项目。 这样做有若干原因。 一种情况是,对于SOS来说,不可能有动态生成ARM机码,而且由于不允许有动态负荷的编码,因为虚拟机器无法运行。 此外,在法律方面,我们希望确保提出申请的方式完全符合 Apple果的规则和准则。
MoSync的主要优势之一是这种灵活性;通过使用简化的中间代表性,任何投入语言最终都会变换,而由此产生的任何平台的双手总是从中衍生出来的,我们获得了投入与产出之间的单一联络点。 这使得我们能够单独增加新的投入语言,而平台则得到支持,反之,增加对新平台的支持,而不考虑投入语言。
当人们问到我们“MoSync是否允许 Java方案在“i”上运行,或“它使C++方案在Windows 7上运行?”时,答案始终是“Yes”。
如果我们把对 Java的支持作为投入语言,它将在每一个平台上开展工作。
当我们增加对Windows Telephone 7的支持时,任何投入语言——MoSync支持的——都将对该平台有用。
我知道,它难以相信,但它确实是:
One of the little know facts about MoSync is that, its not just built to be good for CPU s, its also good a transforming to other languages, for example, one of the MoSync engineers have the platform running in Javascript/HTML 5.0.
Different things happen depending on what platform you using, So MoSync transforms to its intermediate language according to what is best for the target platform.
There are also 4 different flavors of MoSync IL, they are all compatible with each other, but are modeled to advantage of different processor architectures.
IL系统有128个登记册,其中6个为全球登记册,其余为地方登记。
BTW, MoSync bytecode is not same as MoSync IL, the IL being well in meta data.
我很高兴地讨论更细致的细节或结构,只是提出问题。
The Recompiler 核心看起来像典型的动态比较/联合技术汇编者,后者视需要重编编码。 很明显,MoSync使用不同的核心,取决于它所依赖的平台(CM Core-> Java ME, Generated Core-> IPhone, Recompiler Core-> 任何其他东西),与操作时间系统相互连接,作为每个核心的专利,尽管这应当对MoSync用户来说是透明的。
Recompiler Core + an AOT Editorer, where the base core is the implementation of MoSync sys callss. AOT编辑首次通过MoSync编成法典,将其变成本地法典,例如。 ARM. 在转变期间,所有摩辛的回忆都直接被描绘成基质的功能。 最终通过跳跃到转变后法典部分的开端执行。
关于单元。 当你与相应图书馆联系时,应用框架便载于《特辑》。 这些呼吁和内部延期是基本核心的一部分,又取决于资源系统。
I am attempting to write a file using java.io, where I am trying to create it at the location "some/path/to/somewhere/then-my-file". When the file is being created, any of the directories on the path ...
I was looking at XML-RPC for a project. And correct me if I m wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else? Am I missing something? ...
I created an application for Windows in C++ using QT. If I want to port it to Linux or Mac OS, will sizeof(int) or sizeof(long) change? In other words, do types in QT applications for different ...
I m looking for a function/class in wxWidgets which can give me a volume serial number (like win32 GetVolumeInformation function does). I assume that the volume serial number must be pretty much ...
Looking to develop server-side application that will process documents. The source documents are mostly MS-Word 2003, 2007, i.e. the MS version of Docx. Want the server application to be able to run ...
I am doing a cross-platform C (not ++) game with both linux (main) and windows (alternate) binaries. Until now I used devcpp to compile in windows, but I have trouble getting some libraries to work ...
I have a global filter (Display.addFilter) in SWT in which I want to detect Enter key. In Windows, pressing Enter generates SWT.CR in keyCode part of KeyListener event. Is this assumption safe for ...
I want to distribute my app on OSX (using py2app) and as a Debian package. The structure of my app is like: app/ debian/ <lots of debian related stuff> scripts/ ...