u/kubukozcats,cats-effectin r/scala • Recommends
Save your Scala apps from the LazyValpocalypse!
3.7K subscribers • 30 videos on Hallway
Advanced. Deep dive for people who know the field.
1.1K views11 months ago1 recommendation
Programming languagesSystems programmingScalaConcurrency and parallelismCompilers and interpreters
Łukasz Biały explains the upcoming changes to lazy vals in JDK 26 and how Scala 3 is adapting to avoid issues.
Learn more about what's changing with Lazy Vals in JDK 26, why it's a danger for Scala 3 applications, and what's being done to avoid a disaster - with today's guest, Łukasz Biały from @VirtusLab! Links: - SIP-20 github.com/scala/improvement-proposals/pull/19 - SIP-20 implementation docs.scala-lang.org/scala3/reference/changed-features/lazy-v… - Implementation of VarHandle-based Lazy Vals in Scala 3.8 github.com/scala/scala3/pull/24109 - Backport to 3.3.8 github.com/scala/scala3-lts/pull/637 - Andrei Kucharavy: Safe Coding with LLMs - Verifiable Scala Silver Bullet [Scala Days 2025] youtube.com/watch?v=XFj5fpx9ta4 I'm on Twitter: twitter.com/kubukoz on GitHub: github.com/kubukoz sometimes stream on Twitch: twitch.tv/kubukoz And you can buy me a coffee if you want: ko-fi.com/kubukoz You can find Łukasz on: - X/Twitter: x.com/lukasz_bialy - Scala Space podcast @scalaspace Chapters: Intro Introduction The problem with JDK8 - Unsafe API Scala's usage of Unsafe SIP-20 and Scala 3's encoding of lazy vals A JDK 9 alternative Deprecation of Unsafe in the JDK How Scala is impacted The problem with the Scala LTS ecosystem Are we lost? The solution - patching the bytecode 3.3 LTS backport The correctness concerns The verification pipeline How AI was used for the draft Showcase Verification setup Next steps Discussion Parting wordsu/kubukozcats,cats-effectin r/scala • Recommends