News for hackers. Stuff that matters.
Re:Java Is Underhyped by cs-szazz on Friday April 16, 2021 @08:20AM (#26832959)
I used Kotlin in a large codebase, and one of my only complaints is the compile times. We use Gradle for our build system, and relative to Java it is slooowwww. But we like the other benefits of Kotlin, so it's worth it in the end. But if they could get compile times down, it'd be the perfect language imo.
Re:Java Is Underhyped by cutler on Friday April 16, 2021 @07:40PM (#26840244)
1.5.0-RC was released a few days ago and contains rewritten compiler code which promises significant speed improvements.
Re:Java Is Underhyped by ta988 on Sunday April 18, 2021 @09:39AM (#26852360)
It sure does, I updated everything a few days back and was really amazed. Everything is faster, even syntax highlighting.
Re:Java Is Underhyped by cs-szazz on Tuesday April 20, 2021 @10:41AM (#26875313)
We're already using the new IR compiler on 1.4, but I'll check out 1.5!
Re:Java Is Underhyped by stepbeek on Friday April 16, 2021 @10:45AM (#26834512)
How large is the codebase? I moved to kotlin from scala and find the compilation to be rapid in comparison.

Fwiw, I’m normally on a beefy desktop so I might just be brute forcing this issue.

Re:Java Is Underhyped by cs-szazz on Friday April 16, 2021 @12:55PM (#26836312)
11,503 files, 1,431,195 lines of code. (spread out over <50 Gradle modules).

I think the main problem is that Gradle doesn't have the same support as Java for ABI compatible changes, so invalidation of modules are more common.

Re:Java Is Underhyped by stepbeek on Monday April 19, 2021 @08:30AM (#26861981)
This article points to ABI as an open optimization problem in kotlin:

https://blog.jetbrains.com/kotlin/2020/09/the-dark-secrets-o...

I think you're right - ABI compatible changes are likely the culprit.