Gehen Sie mit der App Player FM offline!
254 - 8× faster 5× memory savings with Dan Rusu’s Immutable Arrays
Manage episode 457257686 series 2467567
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 Episoden
Manage episode 457257686 series 2467567
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 Episoden
Alle Folgen
×Willkommen auf Player FM!
Player FM scannt gerade das Web nach Podcasts mit hoher Qualität, die du genießen kannst. Es ist die beste Podcast-App und funktioniert auf Android, iPhone und im Web. Melde dich an, um Abos geräteübergreifend zu synchronisieren.