• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Kotlin for Android App Development: Platform Independence

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Kotlin and recently found a few positions during a job search that listed Kotlin as a skill they would prefer.
I have purchased a coding course from udemy to dig into the language and expand my knowledge but I have a few questions about the language it's self.

Is Kotlin Platform Independent like Java?
If not are there plans to develop it further to become platform independant?

What are the best ways in your opinion, to get familiar with the language when you are not using it in a work type setting?

Thank you!
 
Author
Posts: 28
5
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Kotlin is at least as platform-independent as Java. You can compile Kotlin to Java bytecode to run on the Java Virtual Machine (JVM) or Android -- and the JVM is what makes Java platform-independent.

However, on top of that, Kotlin can be transpiled to JavaScript or to native bytecode to run in the browser, on embedded systems, or iOS.

This was discussed here as well: https://coderanch.com/t/706528/languages/Kotlin-Android-App-Development-Kotlin

- Peter
 
V. Keating
Greenhorn
Posts: 10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for answer.

I have read over the additional post you mentioned.
I did not realize that Kotlin could be transpiled to other native bytecode.
It sounds like Kotlin has a lot of very useful features to contribute to the modern developers needs.
Especially considering the note that it can be used to compile native bytecode to run on embedded systems and iOS.

I really appreciate you taking the time to answer.
I am learning so much just from reading all the posts.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!