7 ms·
Anyone familiar with Java and Kotlin, please expand on how close is Java in feature parity with Kotlin?
by philonoist 4y ago
Anyone familiar with Java and Kotlin, please expand on how close is Java in feature parity with Kotlin?
- BenoitP 4y agoKotlin's are stackless (as in emulated by the compiler), Java's are stackful (as in a chunk of stack is copied into the heap along with a program resume point) This means Kotlin's functions can become colored [1] which is a problem. This said, I'm fully expecting Kotlin to react and pass on this feature to the users. Maybe after figuring out how to deal with Android. [1] https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...