Define a subset of java that can be compiled to native code without JVM
When i read the source code of IBM RVM, I realy think it maybe the next choose of implement a JVM with purely Java itself. Like a Smalltalk VM is coded with Smalltalk itself. Coding a JVM using Java will makes many benifit.
However, I think it is necessary to define a Subset language of Java which can be compiled to native code without JVM support, the language share the same grammer with java, but with a more constrict. Let us naming it as "rawj" which means it is raw without JVM support.
A rawj program can be compiled to native code, so it share the low-level memory mode, just like C. a rawj program maybe compiled to a DLL/SharedObject.
without a JVM, all service from JVM is not support,
0 Comments:
张贴评论
<< Home