~/talk

Let's Get Lazy

Talkat JetBrains Technology Day for Java 2020 · on Friday, 2020-07-10· [java]
slides:none on file

Explains lazy evaluation with live demos in GHCi/Haskell, Scala lazy vals and Java lambdas using Supplier, shows Streams fuse intermediate ops and defer work until terminal ops, and demos infinite streams and takeWhile/limit. Uses IntelliJ’s stream visualizer for debugging. Claims a real Java project with functional refactors cuts a 14-hour job over huge data to a few hours after optimizing pipelines over 53 billion computations. Highlights Supplier + Stream fusion and when parallel streams defeat laziness.

AI-written summary · about

  1. 0:00Intro
  2. 0:15What is laziness
  3. 4:50Example
  4. 9:45Scala
  5. 13:05Java
  6. 18:25Lazy evaluation
  7. 23:05Collections and laziness
  8. 24:55Example of laziness
  9. 33:05List vs Stream
  10. 38:30Infinite streams
  11. 43:00Reactive programming
  12. 48:05Parallel streams
  13. 49:48Use cases
  14. 52:30Performance problems
  15. 53:30Exception handling
  16. 55:20Side effects of functional programming
  17. 57:06Real world use cases
~/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.