Inline bytecode?  
Author Message
PlasmaDragon





PostPosted: 2004-2-23 6:55:00 Top

java-programmer, Inline bytecode? Is it possible to do iline bytecode in Java? Sort of like inline asm
in c++, but platform independent.
 
nos





PostPosted: 2004-2-23 8:42:00 Top

java-programmer >> Inline bytecode?
"PlasmaDragon" <email***@***.com> wrote in message
news:email***@***.com...
> Is it possible to do iline bytecode in Java? Sort of like inline asm
> in c++, but platform independent.

I think not.


 
PlasmaDragon





PostPosted: 2004-2-24 8:27:00 Top

java-programmer >> Inline bytecode? "nos" <email***@***.com> wrote in message news:<I%b_b.39392$Xp.177329@attbi_s54>...
> "PlasmaDragon" <email***@***.com> wrote in message
> news:email***@***.com...
> > Is it possible to do iline bytecode in Java? Sort of like inline asm
> > in c++, but platform independent.
>
> I think not.

Is there anyway at all to link bytecode and java into the same program then?
 
 
nos





PostPosted: 2004-2-24 9:08:00 Top

java-programmer >> Inline bytecode?
"PlasmaDragon" <email***@***.com> wrote in message
news:email***@***.com...
> "nos" <email***@***.com> wrote in message
news:<I%b_b.39392$Xp.177329@attbi_s54>...
> > "PlasmaDragon" <email***@***.com> wrote in message
> > news:email***@***.com...
> > > Is it possible to do iline bytecode in Java? Sort of like inline asm
> > > in c++, but platform independent.
> >
> > I think not.
>
> Is there anyway at all to link bytecode and java into the same program
then?
Look into JNI (java native interface) you can write methods in c/c++ or
whatever
and invoke them from a java method.


 
 
PlasmaDragon





PostPosted: 2004-2-25 5:07:00 Top

java-programmer >> Inline bytecode? Thanks for the help.
 
 
sgmanohar





PostPosted: 2004-2-27 18:41:00 Top

java-programmer >> Inline bytecode? http://www.cs.rpi.edu/~moorthy/Courses/compiler99/Assembler/

or

http://mrl.nyu.edu/~meyer/jasmin/