~/talk

Migrating Gallia to Scala 3 the good, the bad and the very good

Talkat Scala.IO 2024 - Nantes · 2024-02-15..02-16· [typescript]
slides:none on file

Gallia moves from Scala 2 to Scala 3 with concrete outcomes: a working migration of the core and a new macro-based WTT construct that reproduces weaktypeinfo at compile time, tradeoffs around losing scala.reflect.api runtime, and about two thirds of effort spent rewriting macros. Tooling includes SBT crossfolders (-2/-3), scala3 compiler flags and quotes/inline macros. Performance work is next. The experience rates positive because the 213→3 interop and no runtime reflection shaped clear, solvable engineering choices.

AI-written summary · about

  1. 0:00Migrating Gallia to Scala 3
  2. 1:25Why migration matters
  3. 3:11Partial migration strategy
  4. 4:13Starting the migration process with documentation
  5. 5:17Scala 3 macros for reflection
  6. 6:23Good errors improved quality
  7. 7:51Bad errors and indentation
  8. 10:22Odd errors and compiler issues
  9. 11:05Testing and recursive calls
  10. 12:29Spark serialization debugging
  11. 13:13Weak type tag mysteries
  12. 13:55Replacing TypeTag with macros
  13. 15:21Scala 3 vs 2 macro challenges
  14. 16:46Scala 3 macro advantages
  15. 17:49Migration lessons learned
  16. 19:34Tips for Scala 2/3 compatibility
  17. 20:18Testing Gallia with Scala 3 demo
  18. 21:00Overall migration experience
  19. 23:31Q&A Scala 3 and Spark
  20. 24:35Q&A Scala 3 macros impact
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.