Eden Programming Language

Eden is a concurrent functional programming language intended to develop a new perspective on parallel programming: give programmers enough fine-grained control to implement parallel algorithms efficiently while at the same time avoid requiring them to deal with the low level details of process management. An Eden program defines a system of processes which exchange data on communication channels. Eden requires explicit specification of processes and their incoming and outgoing data, but frees the programmer from having to deal with the actual transfer of data between processes and the necessary synchronisation. Process communication channels are modeled by head-strict lazy lists, in a manner similar to the way stream-based I/O is usually handled. Eden extends the lazy functional language Haskell but enforces strit evaluation semantics when necessary to support parallelism. Eden has been jointly developed by groups at Philipps Universitt Marburg, Germany and Universidad Complutense de Madrid, Spain.

Code sample

The following function is at the heart of a simple ray-tracer program. It computes an image with y lines and x columns of a scene consisting of spheres. The sequential function body of the ray function is simply the expression map (traceLine x world) 0..y-1. The parallel version produces the image by several processes each computing a chunk of lines:
    ray :: Int -> Int -> Int -> [Sphere] -> [[RGB]]    ray chunk x y world       = concat ([process (map (traceLine x world)) # linenumbers                 | linenumbers <- splitAtN chunk [0..y-1]]                `using` spine) 
The function concat flattens a list of lists into a list, thus removing one level of nested lists -- the one introduced by the list of processes. The addendum `using` spine is needed to produce early demand for the evaluation of the process instantiations.

External links

References

  • Silvia Breitinger, Rita Loogen, Yolanda Ortega-Malln, Ricardo Pea: Eden - Language Definition and Operational Semantics, Technical Report 96-10, Reihe Informatik, Fachbereich Mathematik und Informatik, Philipps Universitt Marburg 1998.

 

<< PreviousWord BrowserNext >>
basdeo panday
idiotville, oregon
pratt & whitney canada pw100
sega smash pack
hypno
hankuk university of foreign studies
alejandro finisterre
utopia 84
basic oxygen steelmaking
hentaigana
quzhou
baker rifle
jerry sheindlin
hellenic mathematical society
togo at the 2004 summer olympics
latvian national ice hockey team
michael patrick flanagan
tanzania at the 2004 summer olympics
pop 1
primeval forest
beluga (disambiguation)
fatty liver
uzbekistan at the 2004 summer olympics
pulse forming network
coalition of modern universities
cast of star wars
unicorn jelly
uganda at the 2004 summer olympics
interstate 471
calkin algebra
siwucha vodka
morocco at the 2004 summer olympics
rectification
steve stockman
drunken tiger
saint vincent and the grenadines at the 2004 summer olympics
wilhelm reich in hell
qatar at the 2004 summer olympics
united arab emirates at the 2004 summer olympics
concrete blonde
yushan county
former yugoslav republic of macedonia at the 2004 summer olympics
palestine at the 2004 summer olympics
bahrain at the 2004 summer olympics