15 AnswersNew Answer
15 AnswersNew Answer
Let go back a bit to the beginning Java run on jvm which is java virtual machine it enables java to run on any machine that has the jvm, Google and Oracle has a case in court how about Google used part of java API that was copyrighted so yh it lingered for long and the reason why Google choose java for Android it cause it was the most popular language then do they wanted to make a platform where the developers don't have learn a new language to work on they just had to start writing Android apps and java was running on over 3 billion devices and it has Soo many library create .so because of the case btw Google and Oracle they where seeking for an alternative to java something still java like
So jetbrains thos Guy who made the world most used ide android studio itelij idea pycharm rubymins and sooo on https://www.jetbrains.com They started writing a new language fully on java that runs on the jvm and can be interoped fully with java and fix problem java has which the popular problem was the npe null pointer exception so they made Kotlin
You can also try both tutorials here.
It means those language can't be compared like you saying html vs css??😁
So conclusion: Kotlin is just modern java or you can call it 21st century java without java no kotlin
kotlin had a new feature language interoperability we can use java in kotlin and kotlin in java
Java vs Kotlin: Performance & compile time. JetBrains claims that a Kotlin application runs as fast as an equivalent Java one, thanks to very similar bytecode structure. Yet, Kotlin's support for inline functions allows a code using lambdas to run even faster than the same code written in Java.
Kotlin is running on the java virtual machine!
Its Java without Oracle
Kotlin, being the most modern language, aggregates all the best programming practices developed to the current moment. That's why it's definitely worth trying out and thinking over!
I don't know
what is happening?
Sololearn Inc.4 Embarcadero Center, Suite 1455
Send us a message