+ 7
is JVM can run other Programming languages ???
i have an doubts : JVM stand for java Virtual machine .. and it's created to convert java code into machine code ... my question is . can we run other Programming languages on JDK (JVM) ?🥱🤔
6 Antworten
+ 7
Niththish is JVM can convert other language code into byte code ?
+ 7
Niththish what about Kotlin 🙄
+ 5
Niththish
chalo koi na bhai mujhe hi jyada sochna padega lagta h 🧐🧐
+ 5
jvm just do execution no compiling or transpiling.
It can run products of compilers of java, kotlin, scala, some version of python and ruby, ...
https://en.m.wikipedia.org/wiki/List_of_JVM_languages
+ 2
Since Kotlin code is converted into bytecode they require jvm to run
+ 1
The key is the native language of the JVM: the Java bytecode. Any language can be compiled into bytecode which the JVM understands - all you need for this is a compiler emitting bytecode. From then on, there is no difference from the JVM's point of view. So much so that you can take a compiled Scala, Clojure, Jython etc. class file and decompile it (using e.g. JAD) into normal looking Java source code.