Taste the difference with Scala 3: Migrating the ecosystem and more
summary
Scala 3 uses a new compiler and a new on-disk format so migration relies on a concrete bridge: Scala Center implements reading of Scala 3 TASTy files from Scala 2, adds ScalaFix rules and SemanticDB hooks to auto-annotate public APIs, and provides a tasty reader compact test kit that verifies real jars. Demo shows a Scala 2 app switching a dependency to Dotty then to a TASTy-aware Scala 2 and compiling successfully. Caveats: existential types and trait encoding need tweaks before final parity.
AI-written summary · about
chapters (33)
- 0:00Introduction
- 0:32About me
- 0:59Agenda
- 1:27What is Scala 3
- 3:10What does this mean
- 3:29Two scenarios
- 4:25The mistakes of the past
- 5:19How does this work
- 6:09What are enforced changes
- 6:38Abstract type rejection
- 6:59Source stability changes
- 8:17Macro system changes
- 9:05Scala 3 new features
- 9:41Scala to application
- 9:51Scala build tool
- 10:34Scala compiler
- 10:45Trusting code
- 11:56New compiler
- 12:57Asymmetric Union
- 13:20Compile with Scala 3
- 13:52Runtime
- 14:29Outputted
- 14:54Unified runtime representation
- 16:29Scala saw
- 17:08List of int
- 17:51Scala 3des
- 18:44What is tasty
- 19:50Why is tasty important
- 21:05Make Scala to understand tasty
- 21:37Demo
- 22:13Unique features of Scala
- 24:24Tasty Reader Compact Test Kit
- 25:41Recap
