MPD (programming language)

Multithreaded, Parallel, and Distributed Programming (MPD) is a concurrent programming language whose syntax is derived from the one used in the book Foundations of Multithreaded, Parallel, and Distributed Programming. The name lists the distinguishing features of the language, namely that it supports all three of these concurrent programming techniques.

MPD is implemented as a variant of the SR programming language. It has a different parser, but it uses the same intermediate form and run-time system as SR. Consequently, MPD provides the same variety of concurrent programming mechanisms as does SR.

MPD programs can execute on single processors, shared-memory multiprocessors, or clusters of (homogeneous) processors. The implementation transparently supports a variety of different kinds of processors and Unix systems.

Sample Code

resource helloWorld()
    writes("Hello World\n")
end
gollark: They were added a few days back.
gollark: Who's gotten the two achievements for Heavpoot's Gameā„¢?
gollark: Although since minoteaur's single user I might introduce an "embed arbitrary JS to run on the server" function.
gollark: Yes, and induce further insanity.
gollark: minoteaur's markdown handling is three steps - markdown to markdown syntax tree, markdown syntax tree to virtual HTML tree, and virtual HTML tree to HTML string.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.