Processing-Mode Equality
Doug Lea
dl at cs.oswego.edu
Sun Feb 9 05:33:40 PST 2014
On 02/09/2014 07:42 AM, Doug Lea wrote:
> This of course assumes that people will continue to write programs in
> ways that present a high likelihood of disappointment. This is sure to
> sometimes happen: Classic object-oriented programmers will tend to use
> unpartitionable side-effecting methods, classic functional programmers
> will tend to use hopelessly sequential data structures, and classic
> event-driven programmers will tend to use one-by-one vs bulk updates.
> Among those likely to cope best are database programmers, who are
> already comfortable with data-centric bulk updates.
>
Or said more positively: OO, FP, event-based, etc programmers
can all take advantage of data-parallelism. The main ideas are
to think about partitioning and arrange isolation. If you do,
it doesn't matter all that much if operations are in-place vs
creational, whether bulk operations are asynchronously triggered
vs procedural, and so on. Well, these might matter for other
reasons in your program, but the Stream framework doesn't care.
-Doug
More information about the lambda-dev
mailing list