This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Limbo" programming language – news ·newspapers ·books ·scholar ·JSTOR(October 2013) (Learn how and when to remove this message) |
| Limbo | |
|---|---|
| Paradigm | Concurrent |
| Designed by | Sean Dorward, Phil Winterbottom,Rob Pike |
| Developer | Bell Labs /Vita Nuova Holdings |
| First appeared | 1995; 31 years ago (1995) |
| Typing discipline | Strong |
| OS | Inferno |
| License | GNU GPL v2, see NOTICE in limbo subfolder of the tarball |
| Website | web |
| Majorimplementations | |
| Dis virtual machine | |
| Influenced by | |
| C,Pascal,CSP,Alef,Newsqueak | |
| Influenced | |
| Stackless Python,Go,Rust | |
Limbo is aprogramming language for writing distributed systems and is the language used to writeapplications for theInferno operating system. It was designed atBell Labs bySean Dorward,Phil Winterbottom, andRob Pike.[1]
The Limbocompiler generatesarchitecture-independentobject code which is then interpreted by theDis 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 byHoare'scommunicating sequential processes (CSP), as implemented and amended in Pike's earlierNewsqueak language and Winterbottom'sAlef.
Limbo supports the following features:
The Dis virtual machine that executes Limbo code is a CISC-like VM, with instructions for arithmetic,control flow,data motion,process creation, synchronizing and communicating between processes, loading modules of code, and support for higher-level data-types: strings, arrays, lists, and communication channels.[2] It uses a hybrid ofreference counting and areal-timegarbage-collector for cyclic data.[3]
Aspects of the design of Dis were inspired by theAT&T Hobbit microprocessor, as used in the originalBeBox.
Limbo usesAda-style definitions as in:
name:=typevalue;name0,name1:type=value;name2,name3:type;name2=value;
implementCommand;include"sys.m";sys:Sys;include"draw.m";include"sh.m";init(nil:refDraw->Context,nil:listofstring){sys=loadSysSys->PATH;sys->print("Hello World!\n");}
The 3rd edition of the Inferno operating system and Limbo programming language are described in the textbookInferno Programming with LimboISBN 0-470-84352-7 (Chichester: John Wiley & Sons, 2003), byPhillip Stanley-Marbell. Another textbookThe Inferno Programming Book: An Introduction to Programming for the Inferno Distributed System, by Martin Atkins, Charles Forsyth,Rob Pike and Howard Trickey, was started, but never released.
{{cite web}}: CS1 maint: bot: original URL status unknown (link){{citation}}: CS1 maint: bot: original URL status unknown (link).