lkml.org 
[lkml]   [1997]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux for JavaVM
Matthias Urlichs wrote:
>
> In linux.dev.kernel, article <Pine.LNX.3.95.970107173232.30178B-100000@erm6.u-strasbg.fr>,
> Stephane Casset <casset@erm6.u-strasbg.fr> 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 http://www.javasoft.com

alex

--
\\-----------------------------------------------------------\\
// Alexandre Maret -- Linux : The choice of a GNU generation //
\\ amaret@infomaniak.ch -- http://www.infomaniak.ch/~amaret \\
//-----------------------------------------------------------//

\
 
 \ /
  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