2 ms·
> Many of Scalas abstractions, unlike Kotlin, have runtime cost Whoa there, many of Kotlin's do too. Because one uses an option class and another inserts preco
by kodablah 8y ago
> Many of Scalas abstractions, unlike Kotlin, have runtime cost
Whoa there, many of Kotlin's do too. Because one uses an option class and another inserts precondition checks in a lot of places, doesn't mean the latter is zero cost. While Kotlin overall probably has less overhead with better primitive use and what not, there are cases where Scala is less because of macro support.