~/talk

Dotty and types: the story so far

Talkat Typelevel Summit Oslo 2016 · on Wednesday, 2016-05-04· [scala, compilers-and-language-design]
slides:none on file

Dotty implements a compact, practical type-parameter inference engine (~300 lines) that delays instantiation until needed, chooses lower or upper bounds based on covariance/contravariance, and applies special-case rules for lambdas and implicit search so common Scala pitfalls disappear. The compiler adds new instantiation rules and union and singleton types with selective widening, supports named type arguments for partial explicitness, and shows the prototype is usable: inference works in more cases than Scala’s compiler and keeps behavior predictable while remaining implementable.

AI-written summary · about

  1. 0:00Start
  2. 0:16Type Parameter Inference
  3. 1:36How Typing Works
  4. 3:20The Art of Instantiation
  5. 16:39Implicit Charge
  6. 21:19Union Types
~/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.