Skip to content
0:00 / 0:00

#scala3#metaprogramming#macros

Scala metaprogramming, reflection beyond mirrors by Kalin Rudnicki

Func Prog Sweden

56K subscribers • 31 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Kalin Rudnicki
  • An opinion. It argues one side of a question engineers disagree on.

Advanced. Deep dive for people who know the field.

3.3K views7 months ago1 recommendation

Programming languagesScalaLanguage design and type systems

Kalin Rudnicki compares mirrors and macros in Scala 3, arguing that macros offer better type safety, composability, and control.

The presentation looks at the two main approaches available in Scala 3 — mirrors and macros — and argues that while mirrors are common, they often lead to awkward code, unsafe casts, and poor runtime output. In contrast, macros give developers type safety, composability, and full control over the code they generate. Kalin Rudnicki linkedin.com/in/kalin-rudnicki-5ab151150/ Venue sponsor - Kivra kivra.se/ Video sponsor – Ada Beat adabeat.com Merch If you want to spread functional programming and support the channel, buy something from the shop: funcprogsweden.myspreadshop.net/ Chapters: Introduction by Magnus Sedlacek Scala meta programming, reflection beyond mirrors Mirror Macros Oxygen Json decoder Scala 3 macros Example Conclusion Q&A #funcprogsweden

Why it's here

1 person recommends this

u/MagnusSedlacekin r/scala • Recommends

Scala metaprogramming, reflection beyond mirrors by Kalin Rudnicki @ Func Prog Sweden