~/talk

Closures: The Next "Big Thing" In Java?

Talkat JAX London 2012 · 2012-10-16..10-17· [java, compilers-and-language-design]
links:none on file
slides:none on file

Java 8 adds lambda expressions and a fluent collections API so code shifts from explicit for loops to map/filter/reduce style calls; that makes iteration implicit, lets data structures handle parallelism, and enables easy conversion to parallel streams. JDK8’s lambda + parallel mode is reported as not working yet, but groovy with GPars (forked extra166y) already runs the pattern and invokeDynamic lets dynamic Groovy approach Java speeds (example: ~8.9s vs ~9s). The real change is libraries and idioms, not just syntax.

AI-written summary · about

  1. 0:00Start
  2. 2:42The Java 7 → Java 8 change is an even more disruptive change.
  3. 4:58What is a "closure"?
  4. 10:02If Java had operator overloading, this could be made to look much nicer.
  5. 13:24It all about where the iteration is.
  6. 13:42Work with a (trivial) example
  7. 32:40Using Scala is an option for doing functional programming*.
  8. 33:27Java is about to get the functional programming aspect.
  9. 33:41Java is about to become an object-oriented language.
  10. 37:02Closure the next "big thing" in Java?
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.