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

> Kotlin has a `when` that desugars into if when statements

Actually not. Not now, probably it was the case at the begining of the language.

> algebraic data types

they removed some restriction of sealed classes in 1.1. So I am not sure this is true anymore.

The memory management in Swift is completely different than in Java. That is the main reason you need to make changes in the virtual machine. JVM uses the garbage collector while swift uses reference counter.



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

Search: