Jump to content

NESL

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Qwertyus (talk | contribs) at 20:17, 10 February 2015 (see also Cilk). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

NESL
Paradigmparallel, functional, array
DeveloperSCandAL project
First appeared1993
Stable release
3.1 / November 1995
Licensepermissive license similar to the ISC and X11 licenses

NESL is a parallel programming language developed at Carnegie Mellon by the SCandAL project and released in 1993. It integrates various ideas from parallel algorithms, and functional programming and array programming languages.

The most important new ideas behind NESL are

  • Nested data parallelism: this feature offers the benefits of data parallelism, concise code that is easy to understand and debug, while being well suited for irregular algorithms, such as algorithms on trees, graphs or sparse matrices.
  • A language based performance model: this gives a formal way to calculate the work and depth of a program. These measures can be related to running time on parallel machines.

The main design guideline for NESL was to make parallel programming easy and portable. Algorithms are typically significantly more concise in NESL than in most other parallel programming languages, and the code closely resembles high-level pseudocode.

NESL supports nested data parallelism by using the flattening transform to convert nested data parallelism to flat data parallelism. This works by storing nested vectors as the nested data and a segment descriptor of vector lengths, separately.[1] This flattening transform, however, can increase the asymptotic work and space complexity of the original program, leading to a much less efficient result.[2]

Influences

NESL heavily influenced Data Parallel Haskell.[3]

See also

References

  1. ^ Blelloch, Guy (1995). "NESL: A Nested Data-Parallel Language". {{cite journal}}: Cite journal requires |journal= (help)
  2. ^ Spoonhower, Daniel (2008). "Space profiling for parallel functional programs". {{cite journal}}: Cite journal requires |journal= (help); Unknown parameter |coauthors= ignored (|author= suggested) (help)
  3. ^ Jones, Simon Peyton. "Data Parallel Haskell". Retrieved 6 September 2011.