4 ms·
WORA is about coding in one language and running the code in any OS/hardware. Openjdk is one of the only language VM to support multiple languages (with corecl
by The_rationalist 6y ago
WORA is about coding in one language and running the code in any OS/hardware.
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.
- galaxyLogic 6y agoI see. GraalVM sounds great. Thanks for the explanation
- zmmmmm 6y ago> Kotlin stands out by being the only language truly seamlessly compatible with Java Not sure I would agree with that - I think Groovy has at lest as good, maybe even better compatibility than Kotlin.
- The_rationalist 6y agoInteresting, I don't know groovy much but Kotlin has two major points in addition to interop it has idiomatic interop: 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)