Re:Is Scala really Faster than Java?
by thomaslangston on Tuesday June 21, 2011 @09:11AM
(#2678586)
Could you elaborate? It is my understanding that 99.9% of Java syntax is valid Scala syntax. How does that correlate with your statement?
[ Parent
| on HN ]
Re:Is Scala really Faster than Java?
by JoachimSchipper on Tuesday June 21, 2011 @09:15AM
(#2678597)
The compilation path is Scala -> JVM bytecode [-> x86 assembly], not Scala -> Java -> JVM bytecode [-> x86 assembly]. At least, that's what I think your parent comment was saying.
Re:Is Scala really Faster than Java?
by ominous_prime on Tuesday June 21, 2011 @11:09AM
(#2679033)
I wonder where people are getting this (you're not the first person I've heard this from)? The syntax is not compatible at all. You can write programs in the same style, e.g. object oriented with inheritance, global state, side effects, and so on; but the similarity ends there.