Alef (programming language)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Alef
Designed by Phil Winterbottom
Influenced by Newsqueak
Influenced Limbo
OS Plan 9 from Bell Labs

The Alef programming language was designed as part of the Plan 9 operating system by Phil Winterbottom of Bell Labs.

In a February 2000 slideshow, Rob Pike noted: "…although Alef was a fruitful language, it proved too difficult to maintain a variant language across multiple architectures, so we took what we learned from it and built the thread library for C."

[edit] Example

This example was taken from Alef Language Reference Manual. The piece illustrates the use of tuple data type.

 (int, byte*, byte) 
 func() 
 { 
  return (10, "hello", ’c’); 
 }
 void 
 main() 
 {
   int a; 
   byte* str; 
   byte c; 
   (a, str, c) = func(); 
 }

[edit] See also

  • Limbo, a direct successor of Alef, the most commonly used language in the Inferno operating system
  • Plan 9 from Bell Labs, the original environment where Alef was developed

[edit] References


Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages