Hands-on Dotty
summary
Dotty is a complete rewrite of the Scala compiler that ships a new pipeline built from more than 40 mini-phases and lazy InfoTransformers that version symbol/type info; mini-phases run without separate tree traversals so small passes are cheap. Compiled artifacts embed TASTy interchange format (typed trees + metadata) so later compilers can recreate sources. Runtime changes include lazy vals not thread-safe by default but allow concurrent independent initialization and avoid deadlocks. Dotty compiles itself but bootstrapping and some bugs remain; a demo shows writing a mini‑phase and using the dotc wrapper script.
AI-written summary · about
chapters (4)
- 0:00Start
- 8:02SIP-23: LITERAL-BASED SINGLETON TYPES
- 12:00SIP-20: IMPROVED LAZY VAL INITIALIZATION
- 23:24ECOSYSTEM: BINARY COMPATIBILITY. JAVAS
related talks
01h 00mState of Dotty
49mFrom DOT to Dotty
01h 09mCompilers are Databases
44mIntegrating IDEs with Dotty, The Experimental Scala Compiler
48mMetaprogramming in Dotty
30mDotty and types: the story so far
40mIntegrating IDEs with Dotty the experimental Scala compiler
42mDOT: Scala Types from Theory to Practice
