Sciweavers

COORDINATION
2009
Springer

Exceptionally Safe Futures

15 years 11 days ago
Exceptionally Safe Futures
A future is a well-known programming construct used to introduce concurrency to sequential programs. Computations annotated as futures are executed asynchronously and run concurrently with their continuations. Typically, futures are not transparent annotations: a program with futures need not produce the same result as the sequential program from which it was derived. Safe futures guarantee a future-annotated program produce the same result as its sequential counterpart. Ensuring safety is especially challenging in the presence of constructs such as exceptions that permit the expression of non-local control-flow. For example, a future may raise an exception whose handler is in its continuation. To ensure safety, we must guarantee the continuation does not discard this handler regardless of the continuation's own internal control-flow (e.g. exceptions it raises or futures it spawns). In this paper, we present a formulation of safe futures for a higher-order functional language with...
Armand Navabi, Suresh Jagannathan
Added 25 Nov 2009
Updated 25 Nov 2009
Type Conference
Year 2009
Where COORDINATION
Authors Armand Navabi, Suresh Jagannathan
Comments (0)