News for hackers. Stuff that matters.
Re:Dart language by jasonmc on Monday October 10, 2011 @12:45PM (#3094565)
"You realize that Java requires a nontrivial bytecode verifier too, right? IIRC the bytecode verifier, and certainly the compiler, require abstract interpretation to convert the stack-oriented bytecode to a virtual register-based one."

It seems like you are talking about Dalvik VM (Android). Java class files (stack bytecode) are actually converted to Dakvik's register bytecode ahead of time. (Before installation on the mobile device.) I'm unsure if Dalvik bytecode is verified or not.

Re:Dart language by ootachi on Monday October 10, 2011 @12:58PM (#3094647)
No, I'm talking about the verifier [1]. In particular: "There are no operand stack overflows or underflows." That requires abstract interpretation.

And every performant Java interpreter is required to convert the stack machine to vregs in order to perform register allocation. That requires abstract interpretation too.

[1]: http://java.sun.com/docs/white/langenv/Security.doc3.html

Re:Dart language by jasonmc on Monday October 10, 2011 @01:09PM (#3094709)
Sure, but I'd be willing to bet that performance impact of the the verifier is insignificant for all but the most trivial of programs.