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

Anyone familiar with Java and Kotlin, please expand on how close is Java in feature parity with Kotlin?


Kotlin'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-...




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: