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
×

1 257 - Future of AndroidDev in an AI world with Vinay Gaba 47:39






1 254 - 8× faster 5× memory savings with Dan Rusu’s Immutable Arrays 49:16


1 253 - logcat - a new look at logging with Piwai from Square 40:30








1 249 - Java and the JDK: Powering the Android Landscape with Michael Bailey 54:54


1 248 - Feature Flags & A/B Testing: A Deep Dive with Ishan Khanna 1:05:44


1 247: The Art of App Modularization with Siggi Jonsson 1:06:00


1 246 - Dependency Injection: Kotlin Inject with Fred Porciúncula 55:32


1 245: Treehouse, Redwood and Zipline with Colin White 54:47


1 244: Reviving Our Passion for Android Development 9:34


1 243: Mastering the Art of Switching Careers in Tech with Dan Lew 48:22
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.