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 ?
[ Parent
| on HN ]
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.