Messages in this thread |  | | From | (Alan Cox) | Subject | Re: Linux for JavaVM | Date | Fri, 17 Jan 1997 20:04:16 +0000 (GMT) |
| |
> Yes: you are wrong. The bytecode does NOT support such C features as > "dereference an arbitrary pointer". The Java VM is supposed to afford a > safe, "boxed", environment for arbitrary Java code snippets. You can't do > that if you would ever allow the bytecode equivalent of perfectly-legal C > code such as "*(char *)0x123456 = 0x78" to run.
Im not convinced. If you declare your entire runspace as a single giant object probably of word size and generate good use of the stack machine for temporaries you can certainly build a C -> JavaVM environment with some library support for calling other Java classes.
Alan
|  |