Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except Kotlin is a multiplatform language now thanks to Jetbrains efforts (kmp project), it's not anymore intertwined with JVM.

Using Java library will limit your program only to jvm platform. Using a kotlin library like this one (given it's written in pure kotlin and doesn't uses any jvm platforms specifics) will allow you to build it to whatever target kmp supports (macosx, ios, android, js, mingw...)



> to build it to whatever target kmp supports (macosx, ios, android, js, mingw...)

Plenty of languages (also Java with Graal, TeaVM, J2CL, etc.) can also target these platforms.

But as with all these languages targeting these platforms (including Kotlin) you are going to have to call platform specific API if you want to do anything useful. There are also platforms specific limitations which means certain stuff which you can do in the language doesn't work on those platforms.


Not yet to Android (in the case of the library). Need to revamp some internal things.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: