~/talk

Implicits Inspected and Explained

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [typescript]
slides:none on file

Step-by-step demos use the Represent REPL and JavaP bytecode to show that implicits get filled into calls at compile time and disappear from generated bytecode; examples include actor ! with an implicit sender, Future with implicit ExecutionContext, Numeric[T] for sum, and a Finagle client builder that requires three implicit "client config evidence" pieces and fails compilation with Builder is not fully configured via @implicitNotFound. The resolution follows implicit scope rules: local simple-name, companion/package objects, supertypes. Implicit conversions do not chain (only one conversion is applied).

AI-written summary · about

  1. 0:00Implicits in Scala
  2. 6:32Power of implicits
  3. 8:44Implicit parameters
  4. 17:37Implicit conversions
  5. 23:04Implicit classes
  6. 25:34Compiler resolution
  7. 33:26Type classes benefits
  8. 44:30Summary
~/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.