Re:Kotlin Post-1.0 Roadmap
by gregschlom on Thursday April 14, 2016 @12:47PM
(#11498266)
They compile to the same bytecode, but some languages may have features that compile to a lot more bytecode than others. A dynamic language such as Clojure, for example, is definitely slower than Java, although they are both JVM-based, because it has to do a lot more.
[ Parent
| on HN ]
Re:Kotlin Post-1.0 Roadmap
by mike_hearn on Thursday April 14, 2016 @01:21PM
(#11498647)
Kotlin relies quite heavily on bytecode level method inlining, for instance.
The advantage is that it makes code written in a functional style effectively free (well, almost, unless you could gain performance from step fusion). The disadvantage is that the JVM wasn't designed for that and it messes up stack traces.