Jump to content

MultiLisp

From Wikipedia, the free encyclopedia
MultiLisp
ParadigmsMulti-paradigm:functional,imperative,concurrent,meta
FamilyLisp
Designed byRobert H. Halstead Jr.
DeveloperMassachusetts Institute of Technology(MIT
First appeared1980;44 years ago(1980)
Typing disciplineDynamic,latent,strong
ScopeLexical
Implementation languageInterlisp
PlatformConcertmultiprocessor
LicenseProprietary
Influenced by
Lisp,Scheme
Influenced
Gambit,Interlisp-VAX

MultiLispis afunctionalprogramming language,adialectof the languageLisp,and of its dialectScheme,extended with constructs forparallel computingexecution andshared memory.These extensions involveside effects,rendering MultiLispnondeterministic.Along with its parallel-programming extensions, MultiLisp also had some unusualgarbage collectionand task scheduling algorithms. Like Scheme, MultiLisp was optimized forsymbolic computing.Unlike some parallel programming languages, MultiLisp incorporated constructs for causing side effects and for explicitly introducing parallelism.

It was designed by Robert H. Halstead Jr., in the early 1980s for use on the 32-processor Concertmultiprocessorthen being developed atMassachusetts Institute of Technology(MIT) and implemented inInterlisp.It influenced the development of the Scheme dialectsGambit,[1]and Interlisp-VAX.

PCALL and FUTURE

[edit]

MultiLisp achieves parallelism with the PCALLmacro,where

(PCALL Fun A B C...)

is equivalent to

(Fun A B C...)

except that theargumentsA, B, C,etc. are explicitly allowed to be evaluated in parallel; this circumvents the usual order of evaluation, which is sequential and left to right. It also makes use of a parallel programming construct calledfutures,which resemblesforking,combined withlazy evaluation.Using this construct, an expression such as

(cons(FUTURE A) (FUTURE B))

can be written, which will overlap the evaluation of the expressions A and B, not only with each other, but with computations that use the result of theconscall, until an operation is performed that needs correct information about the value of A or B.

See also

[edit]

References

[edit]
  1. ^WikiSysop; Mikaelm; Bjlucier; Thedens, Dan (2019-02-06)."Gambit".Retrieved2019-04-21.