Linda (coordination language)

In computer science, Linda is a model of coordination and communication among several parallel processes operating upon objects stored in and retrieved from shared, virtual, associative memory.[1] It was developed by David Gelernter and Nicholas Carriero at Yale University.

Model

This model is implemented as a "coordination language" in which several primitives operating on ordered sequence of typed data objects, "tuples," are added to a sequential language, such as C, and a logically global associative memory, called a tuplespace, in which processes store and retrieve tuples.

The original Linda model requires four operations that individual workers perform on the tuples and the tuplespace:

Evaluation

Compared to other parallel-processing models, Linda is more orthogonal in treating process coordination as a separate activity from computation, and it is more general in being able to subsume various levels of concurrencyuniprocessor, multi-threaded multiprocessor, or networkedunder a single model. Its orthogonality allows processes computing in different languages and platforms to interoperate using the same primitives. Its generality allows a multi-threaded Linda system to be distributed across multiple computers without change.

Whereas message-passing models require tightly-coupled processes sending messages to each other in some sequence or protocol, Linda processes are decoupled from other processes, communicating only through the tuplespace; a process need have no notion of other processes except for the kinds of tuples consumed or produced (data coupling).

Researchers have proposed more primitives to support different types of communication and co-ordination between (open distributed) computer systems, and to solve particular problems arising from various uses of the model. Researchers have also experimented with various means of implementing the virtual shared memory for this model. Many of these researchers proposed larger modifications to the original Linda model, developing a family of systems known as Linda-like systems and implemented as orthogonal technology (unlike original version). An example of this is the language Ease designed by Steven Ericsson-Zenith.

Implementations

Linda was originally implemented in C and Fortran, but has since been implemented in many programming languages, including:

Some of the more notable Linda implementations include:

Criticisms

Criticisms of Linda from the multiprocessing community tend to focus on the decreased speed of operations in Linda systems as compared to Message Passing Interface (MPI) systems. While not without justification, these claims were largely refuted for an important class of problems.[2] Detailed criticisms of the Linda model can also be found in Steven Ericsson-Zenith's book Process Interaction Models.[3]

Name

Linda is named after Linda Lovelace, an actress in the pornographic film Deep Throat, a pun on Ada's tribute to Ada Lovelace.[4]

Publications

See also

References

  1. Ahuja, Sudhir (AT&T Bell Laboratories); Carriero, Nicholas; Gelernter, David (August 1986), "Linda and Friends", Computer, IEEE, 19 (8): 26–34, doi:10.1109/mc.1986.1663305
  2. Carriero; et al. (1 April 1994). "The Linda Alternative to message-passing systems". Parallel Computing. 2 (4): 633–655.
  3. Ericsson-Zenith (1992). Process Interaction Models. Paris University.
  4. Markoff, John (January 19, 1992). "David Gelernter's Romance With Linda". The New York Times.

External links

This article is issued from Wikipedia - version of the 6/11/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.