Skip to main content

Mark Reinhold: There’s not a moment to lose!

Mark Reinhold leads the closures charge with There’s not a moment to lose!:

The free lunch is over. Multicore processors are not just coming—they’re here. Leveraging multiple cores requires writing scalable parallel programs,
which is incredibly hard. Tools such as fork/join
based on work-stealing
algorithms make the task easier, but it still takes a fair bit of expertise
and tuning. Bulk-data APIs such as parallel
allow computations to be expressed in terms of higher-level,
SQL-like operations (e.g., filter, map, and reduce) which can be mapped
automatically onto the fork-join paradigm. Working with parallel arrays in Java, unfortunately, requires lots
of boilerplate code
to solve even simple problems...

Community: OpenJDK