(j3.2006) (SC22WG5.5563) LCPC conference in Raleigh
Van Snyder
Van.Snyder
Tue Sep 15 16:43:20 EDT 2015
On Tue, 2015-09-15 at 13:37 +0000, Bill Long wrote:
>
> I think Futures are part of X10 from IBM.
"Futures" are also sometimes called promises. They're data structures
where the result of a concurrent computation will eventually appear.
One can drag these around until the result is needed, and then look at
it. If the result isn't yet available when somebody looks at it, he
gets suspended. They're similar to what Arvind calls I-Store. I-Store
has the additional feature that if you write into it when it has a
value, that's an error that raises an exception. I don't know whether
futures and promises have that behavior.
Future iterators are also useful. They spawn a list of tasks that have
future results, and then one can process the results in the order they
finish, which is not necessarily the order they started.
More information about the J3
mailing list