Promise (Programming)

In computer programming, a promise (also known as a future in some languages) is a placeholder for a result that is not yet known, usually because a computation has not yet finished or a message from a remote party has not yet arrived. The use of promises can dramatically reduce latency in distributed systems because it enables pipelining of messages, called promise pipelining http://www.erights.org/elib/distrib/pipeline.html http://c2.com/cgi/wiki?PromisePipelining.

Known implementations

This concurrent programming technique was invented by the MIT Actors group in the 1970s. It became more well known by its inclusion in MultiLisp. The use of logic variables for communication in concurrent logic programming languages is quite similar. These started with "Prolog with Freeze" and "IC Prolog", and became a true concurrency primitive with Concurrent Prolog, Flat Concurrent Prolog, Parlog, Vulcan, Janus, Mozart/Oz, Flow Java, and Alice. The single assignment "I-var" from data flow languages, included in Reppy's "Concurrent ML", is much like the concurrent logic variable. The pipelining technique (using promises/futures to overcome latency) was invented independently twice in the 1980s. It was invented at Project Xanadu (circa 1989) and by Barbara Liskov in 1988. Languages supporting "promises/futures/concurrent logic variables/I-vars" include: Languages supporting promise pipelining include:

External references

 

<< PreviousWord BrowserNext >>
metamorphosis (album)
hennu
warsaw department
siedlce department
tom and jerry: the movie
poznan department
e programming language
lomza department
lublin department
krakw department
kalisz department
lake albert, south australia
radom department
plock department
endo yumi
tilden park merry go round
ray barbieri
emerson radio corporation
fujitani ayako
circuit del jarama
sodanyaku
yilmaz guney
spencer fox
fujita yumiko
antonio esfandiari
abigail (actress)
colorado locations by per capita income
fann
pentraeth
hecataeus of abdera
hugh j. gallen
skitt's law
vesta m. roy
fujitani miwako
the battle
fukatsu eri
trimorphism
apsan park
ra (u.s. band)
neutron star (story)
u.p. baguio
al ahsa
fujimura shiho
sioux falls regional airport