[lkml]   [1997]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux for JavaVM
Matthias Urlichs wrote:
> In, article <>,
> Stephane Casset <> writes:
> >
> > Why translating the source to Java, just keep it in C or C++ but compile
> > it for the Java VM... The important thing is to have the bytecode. I am
> > wrong ?
> >
> 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.

there is bytecodes for memory access. It is just not
supported by the "classical" Java VM. But it is
supported by JavaOS.

Otherwise, how could you write a completely Java
Look for JavaOS information on


// Alexandre Maret -- Linux : The choice of a GNU generation //
\\ -- \\

 \ /
  Last update: 2005-03-22 13:38    [W:0.047 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site