News for hackers. Stuff that matters.
Re:Bytecode features not available in the Java language by whitten on Friday April 17, 2015 @02:26PM (#9396195)
If the Java Virtual Machines don't always execute certain Java Byte Codes, how does a compiler to JVB for another language know that the generated code is run ?
Re:Bytecode features not available in the Java language by krilnon on Friday April 17, 2015 @04:18PM (#9396948)
There's an official specification for what and how a program that claims to be a JVM implementation should operate given Java bytecode. So someone writing a language that compiles to Java bytecode would typically either target the specification (and test on as many implementations as they felt necessary), or target a specific implementation like HotSpot and ignore the rest.
Re:Bytecode features not available in the Java language by pests on Friday April 17, 2015 @04:14PM (#9396922)
Which bytecodes do you mean? If you're talking about the jsr/ret thing they still have functionality but the compiler just doesn't generate those.
Re:Bytecode features not available in the Java language by kragen on Friday April 17, 2015 @04:27PM (#9396996)
What is the sound of one hand clapping?