Why it is possible to build custom language for JVM, like Groovy, Scala, Clojure, Kotlin? -


these languages differ java in significant ways, oo system, type system (most notable).

the actual question whether jvm keeps track of objects under hood? there object inside jvm? responsibility of creators of such languages may interoperate java world, or achieved "by default"?

all jvm languages compile "java byte code". actually, jvm not have idea of programming language java. jvm spec specifies "class file", must fulfill rules. long provide compliant class files, created compiler e.g., code run on jvm. that's kotlin example.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -