Go offline with the Player FM app!
254 - 8× faster 5× memory savings with Dan Rusu’s Immutable Arrays
Manage episode 457249767 series 1401635
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
Disclaimer: Links shared might be affiliate links. They help support the production of Fragmented. Thank you for your support.
258 episodes
Manage episode 457249767 series 1401635
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
Disclaimer: Links shared might be affiliate links. They help support the production of Fragmented. Thank you for your support.
258 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.