Breaker ACT
12/29/2025, 7:42 AMsuspend feature. Annotating a function with suspend doesn’t add much value.
On the other hand, Java 21+ has Virtual Threads. The JVM automatically detects IO operations, suspends the operation, and resumes the virtual thread once the result is ready.
This leads me to the view that when reading multiple files simultaneously, Java will perform better than Kotlin.
Please correct me if I’m wrong.CLOVIS
12/29/2025, 8:01 AMBreaker ACT
12/29/2025, 8:09 AMlightweight, it is more likely the capability.
You can use virtual threads from Kotlin,Yes, but it isn't available for Android yet, right ?
CLOVIS
12/29/2025, 8:11 AMBreaker ACT
12/29/2025, 8:13 AMCLOVIS
12/29/2025, 8:15 AMCLOVIS
12/29/2025, 8:16 AMBreaker ACT
12/29/2025, 8:22 AMCLOVIS
12/29/2025, 8:34 AMephemient
12/30/2025, 1:12 AMephemient
12/30/2025, 1:13 AM