Francais | English | Espanõl

Limbo (programming language)

From Wikipedia, the free encyclopedia

(Redirected from Limbo programming language)
Jump to: navigation, search
Limbo <tr><th>Paradigm:</th><td>Concurrent</td></tr><tr><th>Appeared in:</th><td>1995</td></tr><tr><th>Designed by:</th><td>Dennis Ritchie, Sean Dorward, Phil Winterbottom, and Rob Pike</td></tr><tr><th>Developer:</th><td>Bell Labs/Vita Nuova</td></tr><tr><th>Typing discipline:</th><td>Strong</td></tr><tr><th>Major implementations:</th><td>Dis</td></tr><tr><th>Influenced by:</th><td>C, CSP, Alef</td></tr><tr><th>Influenced:</th><td>Stackless Python</td></tr><tr><th>OS:</th><td>Inferno</td></tr><tr><th>License:</th><td>Open Source</td></tr><tr><th>Website:</th><td>http://www.vitanuova.com/inferno/limbo.html</td></tr>


Limbo is a programming language for writing distributed systems and is the language used to write applications for the Inferno operating system. It was designed at Bell Labs by Dennis Ritchie, Sean Dorward, Phil Winterbottom, and Rob Pike.

The Limbo compiler generates architecture-independent object code which is then interpreted by the Dis virtual machine or compiled just before runtime to improve performance. Therefore all Limbo applications are completely portable across all Inferno platforms.

Limbo's approach to concurrency was inspired by Hoare's Communicating Sequential Processes (CSP).

Contents

[edit] Language features

Limbo supports the following features:

[edit] Examples

Limbo uses Pascal style definitions (minus the VAR keyword) as in:

name := type value;
name0,name1 : type = value;
name2,name3 : type;
name2 = value;

[edit] Hello world

implement Command;

include "sys.m";
    sys: Sys;

include "draw.m";

include "sh.m";

init(nil: ref Draw->Context, nil: list of string)
{
    sys = load Sys Sys->PATH;
    sys->print("Hello World!\n");
}

[edit] See also

</div>

[edit] External links

de:Limbo (Programmiersprache)

fr:Limbo (langage) pl:Limbo pt:Linguagem de programação Limbo ru:Limbo

Personal tools