News for hackers. Stuff that matters.
Re:Kotlin Money by flykespice on Wednesday October 09, 2024 @11:47AM (#41789203)
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...)

Re:Kotlin Money by jsiepkes on Thursday October 10, 2024 @08:21AM (#41798118)
> 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.

Re:Kotlin Money by eriksencosta on Friday October 11, 2024 @01:35AM (#41806502)
Not yet to Android (in the case of the library). Need to revamp some internal things.