DEV Community

Discussion on: Should I learn Java?

 
adam_cyclones profile image
Adam Crockett ๐ŸŒ€

I'm am interested in kotlin for a few reasons come to think of it. Im comfortable in typescript which has a similar syntax. Kotlin upon last inspection had a js transpiler, what I'm hoping it can do now is compile to webassembly. Let the reaserch begin.

Thread Thread
 
adam_cyclones profile image
Adam Crockett ๐ŸŒ€

Kotlins native compiler is based on llvm so that's a green light. ๐Ÿฅฆ

Thread Thread
 
misobelica profile image
Miลกo

Yep, Kotlin can transpile to JS or WASM, can run on mobile and native. And when you start counting with graalvm.org/ the interoperation with other languages (Python, C, JS, ...) through Truffle gives you real superpowers. They are edge tech. now but I believe it's worth exploring. You can always fallback to just Kotlin on backend and mobile where is it pretty mature.