by The_rationalist · 5y ago · 0 comments
It didn't quite pan out that way, but back then OOP was "the future" and everyone sort of assumed that only the classic style of OOP will ever be needed in the future.
Openjdk is one of the only language VM to support multiple languages (with coreclr).
However the languages that compile to bytecode are not automatically interoperable between each other. Usually languages (scala, groovy, etc) have partial interoperability with Java and almost zero interop between each other (scala <-> kotlin, kotlin <-> groovy). Kotlin stands out by being the only language truly seamlessly compatible with Java.
However graalvm is next generation because it enable languages to become easily and seamlessly interoperable with ALL other platforms languages at once. Graalvm is also revolutionary for its productivity (its a framework for building languages) and for its easy to get performance.
Not sure I would agree with that - I think Groovy has at lest as good, maybe even better compatibility than Kotlin.
1) The kotlin standard library is the Java standard library.
2) kotlin feel similar with Java and has analogues to almost every Java feature e.g SAM conversions.
The fact that groovy is dynamic make much less suitable for hybrid code bases (half Java half X)