News for hackers. Stuff that matters.
Re:Can I get some reasons to use Java instead of Kotlin? by nindalf on Monday May 17, 2021 @04:24PM (#27187993)
I have nothing to say about the rest of the article, but here's one bit that doesn't make the point the author hopes for.

> The obvious difference with the app is that the Java version size is 74Kb, the Kotlin version is 781Kb. Rather a lot of bloat for a small simple app.

No, it really isn't. Anything less than one MB is negligible. Importantly, since we have exactly one sample for each we don't know if that's fixed overhead or variable. Does a 5MB Java app become a 5.7MB Kotlin app? Then the overhead is fully fixed and it doesn't matter. Does a 5Mb Java app become a 50MB Kotlin app? That's a problem. The truth is probably somewhere in between.

We don't know because the author made the unfounded statement about bloat with just one data point.

There are no comments on this comment yet.