> I'd like one program that can convert a file of CIL instructions to a
file
> of CVM instructions (this wouldn't be platform specific).
The cvm interpreter is not tied to libjit. It's an either jit or cvm. The
CIL instructions
depend much on the metadata in the CIL files and so does the generated
code.
The tool would have to create a file with all the metadata in the CIL file
and only the instruction streams replaced by cvm code.
Ok, I think I understand now. This task seems like it must be close to the
JVM bytecode generation option, which also has to wrap up the metadata and
generate an instruction stream suitable for interpretation?
How does the CVM stream compare to a bytecode stream in terms of suitability
to be interpreted?
Perhaps the question of CVM vs. Bytecode should hinge on which set of libs
are the most suitable?
Since the PNET libs are written in C, instead of C#, the connection between
the interpreter and the libs is made at the native code level, instead of
the IL level, so this may present a more efficient runtime. A lib written in
C# and compiled to IL has to be interpreted at runtime (assuming no JIT),
along with the user code, thereby causing slower execution speed.
A Java set of libs is probably similar to the IL model where the libs exist
as bytecode that must be interpreted at runtime.
Eric
_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces
friends module.
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk
_______________________________________________
Developers mailing list
[email protected]
http://dotgnu.org/mailman/listinfo/developers