~/talk

BRING YOUR OWN EFFECT

Talkat Scalar 2018 · 2018-04-06..04-07· [scala, developer-experience]
github:cb372
slides:none on file

Adds BYOE to ScalaCache by abstracting APIs over a type F and providing a cats‑effect–style Async/Sync typeclass. Implements concrete instances: Scala Future, a synchronous Caffeine backend built with delay, and a memcached backend using spy memcached callbacks; uses the Identity monad for plain sync results. Produces one API that returns F[Option[V]] so users pick Future/Task/IO or plain values, simplifies wiring with ReaderT/EitherT stacks and aids testing; deployed and working.

AI-written summary · about

  1. 0:00Start
  2. 1:18The good old days
  3. 8:47What typeclass do I need?
  4. 16:52Why should I do this?
  5. 18:06Extra dimension of abstraction
  6. 19:29Composition of operations
  7. 22:12Choice of effects
  8. 23:52Concrete impl details
  9. 24:42Bring it all together
~/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.