
254 - 8× faster 5× memory savings with Dan Rusu’s Immutable Arrays
About this episode
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.
Get every episode summarized
Each time Fragmented - AI Developer Podcast publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Fragmented - AI Developer Podcast

311 - Self learning harnesses are here
Fragmented - AI Developer Podcast

310 - Mitchell Hashimoto on Ghostty & His Agentic Coding Workflow
Fragmented - AI Developer Podcast

309 - Background Agents
Fragmented - AI Developer Podcast

308 - How Image Diffusion Models Work - the 20 minute explainer
Fragmented - AI Developer Podcast