Google Play Protect – A New Way To Protect Your Phone

Kotlin without JVM Using Kotlin Native

Kotlin Native is another step toward making Kotlin usable throughout a modern application. Eventually, it will be possible to use Kotlin to write every component, from the server back-end to the web or mobile clients. Sharing the skill set is one big motivation for this scenario.

Kotlin Native replace JVM

Kotlin is all about knowing that Kotlin is compatible with Java because it is built for use on the JVM. Kotlin is often Android or backend. More than that (or whatever ran on our beloved JVM).
More on Kotlin : See other interesting tutorial and news about Kotlin

What if one day we do not want to use the JVM?
In some cases we may have to say goodbye to the JVM for some reason.
  • Want to use existing native library library?
  • Run native app on various platforms.
  • I want to use the machine resources to it.
  • Boring JVM
For these reasons, we have to find a way to bring our beloved Kotlin to native applications.
Recommended article : Top 30 Android Tools Every Developer should Know

What is Native?

Speaking of native, come up with a few, and then summarize what it is. What’s the difference with the JVM?
Native translator is native If in a computer system is to run our command set directly on the platform or machine code, each system will have a different format. Even though it is the same work.
The JVM gets a set of bytes of code to figure out how to execute that statement.
If compared Running a direct command set is better than passing another system. Because we have control over the machine.
For Kotlin geekers : Bye bye Gradle and Maven !! Say hello Kotlin Kobalt

And What is Kotlin Native?

Kotlin Native is a compiler that allows us to write a native app with Kotlin. It uses the LLVM compiler to create machine code based on the platform we want. This can now be done on the
  • Mac OS X
  • Linux
  • Apple iOS
  • Raspberry Pi
  • Windows
  • Web Assembly (in the future)
Source: Kotlin Native replace JVM

Comments