In this episode, discover how Dan Rusu’s pods4k Immutable Arrays library can deliver 2–8× speed boosts and 5× lower memory usage in Kotlin/Android apps. We first revisit the fundamentals of autoboxing/unboxing and immutability to understand their impact on performance. Then we hear from Dan himself on his library, motiviations for building it, how the benchmarks were calculated and much much more. Our grand finale episode for 2024. Hope you enjoy it!
Full Shownotes at https://fragmentedpodcast.com/episodes/254.
Show Notes
- Immutable Arrays on github
- Immutability episode #66 on Immutability with Ryan Harter
- JMH - Java Microbenchmark Harness
- Immutable Arrays Benchmarks page for Immutable Arrays (pods4k)
- Dan’s post - Kotlin avoids entire categories of Java defects
- K2 compiler
- Dan Rusu
Contact us
Kaushik:
- kau.sh (links to everything)
- Threads
- Bluesky
- Youtube
- @kaushikgopal
Discuss on Bluesky, Reddit r/androiddev r/kotlin, Youtube.
Disclaimer: Links shared might be affiliate links. They help support the production of Fragmented. Thank you for your support.