Futures and Promises - List of Implementations

List of Implementations

Languages supporting futures, promises, concurrent logic variables, dataflow variables, or I-vars include:

  • ABCL/f
  • Alice ML
  • AmbientTalk (including first-class resolvers and read-only promises)
  • Clojure
  • C# 5 (through the await keyword)
  • Dart
  • Flow Java
  • Glasgow Haskell (I-vars and M-vars only)
  • Id (I-vars and M-vars only)
  • Io
  • Java through java.util.concurrent.Future
  • Lucid (dataflow only)
  • MultiLisp
  • Oxygene
  • Oz version 3
  • Python 3.2, as proposed by the PEP 3148
  • R (promises for lazy evaluation - still single threaded)
  • Racket
  • Scala
  • Scheme
  • μC++

Languages also supporting promise pipelining include:

  • E
  • Joule

Library-based implementations of futures:

  • For Common Lisp: Eager Future2 and PCall
  • For C++: C++11 (new revision of the C++ standard), the Boost library and the Dlib C++ Library
  • For C#: The Parallel Extensions library
  • For JavaScript:
    • Cujo.js's when.js provides promises conforming to the CommonJS Promises/A proposal.
    • jQuery's Deferred Object is based on the CommonJS Promises/A design.
    • The Dojo Toolkit supplies both promises and Twisted style Deferreds
  • For Objective-C: MAFuture (reference)
  • For OCaml: Lazy module implements lazy explicit futures.
  • For Perl: Future and Reflex
  • For Python: pythonfutures and Twisted's Deferreds
  • For Ruby: The Promise gem
  • For PHP: React/Promise

Read more about this topic:  Futures And Promises

Famous quotes containing the words list of and/or list:

    Every morning I woke in dread, waiting for the day nurse to go on her rounds and announce from the list of names in her hand whether or not I was for shock treatment, the new and fashionable means of quieting people and of making them realize that orders are to be obeyed and floors are to be polished without anyone protesting and faces are to be made to be fixed into smiles and weeping is a crime.
    Janet Frame (b. 1924)

    We saw the machinery where murderers are now executed. Seven have been executed. The plan is better than the old one. It is quietly done. Only a few, at the most about thirty or forty, can witness [an execution]. It excites nobody outside of the list permitted to attend. I think the time for capital punishment has passed. I would abolish it. But while it lasts this is the best mode.
    Rutherford Birchard Hayes (1822–1893)