29 ms·
You do realize the paradigm shift that enable language polyglotism? It is nothing like WORA
by The_rationalist 6y ago
You do realize the paradigm shift that enable language polyglotism? It is nothing like WORA
- galaxyLogic 6y agoI'm not sure I do. Isn't polyglotism about being able to write in different languages, and Java VM making that possible?
- The_rationalist 6y agoWORA 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)
- otabdeveloper4 6y agoLanguage polyglotism was the original selling point for Java when it was first released. 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.