~/talk

Project Lambda: Simplifying Concurrent Programming in Java SE 8

Talkat JavaDay Riga 2012 · on Thursday, 2012-11-29· [java, concurrency]
slides:none on file

Claims that Java SE 8 lambdas let library code take iteration and concurrency off application code and make parallelism a one-word change: the serial loop that computes the max 2011 student score becomes a filter‑map‑reduce pipeline that can flip to parallel with a parallel() call. Implementation uses invokedynamic code generation to emit efficient runtime function objects and adds default methods on Collection (filter/map/reduce) to preserve binary compatibility. Demonstration replaces a mutating accumulator with a stateless pipeline and runs correctly via existing fork‑join style execution.

AI-written summary · about

  1. 0:00Introduction to Lambda
  2. 1:12Why Java needs Lambdas
  3. 8:19History of concurrent programming
  4. 14:24Serial vs parallel code challenges
  5. 20:25Problems with anonymous inner classes
  6. 22:09Project Lambda's goals
  7. 23:55Lambda syntax and examples
  8. 30:21How Lambdas work under the hood
  9. 32:52Default methods in interfaces
  10. 34:37Benefits of Lambda expressions
  11. 35:21Q&A session
~/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.