JVM and I/O ! ?
I am an assembly language programmer. For speed's sake, I
would like to program in JVM code rather than compiling JAVA.
Now if I am writing a 3D game, how do I put pixels on the
screen in JVM? How do I read the mouse and keyboard?
I don't use API's or classes, just the minimum code necessary.
[327 byte] By [
Virand] at [2007-9-27 20:17:12]

Pardon me for asking, but why?
If you are interested in eking out the last drop of performance by doing assembler, you are probably not interested in the extra layer a JVM inserts between you and the raw iron anyway.
And if it's bytecode you're referring to when you talk about assembler, I don't think bytecode is really comparable to "normal" compiled code anyway, since it's interpreted or JIT-compiled at runtime by the JVM.
I'm no bytecode expert, but I wouldn't be surprised to learn that a bytecode optimization on one platform would actually be a non-optimization on another platform, because of the way the JVM translates it to native code.
hhor at 2007-7-7 0:32:55 >
