Chapel (programming language)

Chapel (originally the Cascade High Productivity Language or CHPL) is a parallel programming language created by Cray as part of the Cray Cascade project, a participant in DARPA's High Productivity Computing Systems (HPCS) program.

Uses your system voice; voice and rate in settings.

≈ 6 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

Chapel (originally the Cascade High Productivity Language or CHPL) is a parallel programming language created by Cray[3] as part of the Cray Cascade project, a participant in DARPA's High Productivity Computing Systems (HPCS) program. It was developed as an open source project, under version 2 of the Apache license.[4]

The Chapel compiler is written in C and C++ (C++14). The backend (i.e. the optimizer) is LLVM, written in C++. Python 3.7 or newer is required for some optional components such as Chapel’s test system and c2chapel, a tool to generate C bindings for Chapel. By default Chapel compiles to binary executables, but it can also compile to C code. Chapel code can be compiled to libraries to be callable from C, or Fortran or e.g. Python also supported. Chapel supports GPU programming through code generation for NVIDIA and AMD graphics processing units.[5]

Goals

edit edit source

Chapel aims to improve the programmability of parallel computers in general and the Cascade system in particular, by providing a higher level of expression than current programming languages do and by improving the separation between algorithmic expression and data structure implementation details.

The language designers aspire for Chapel to bridge the gap between current high-performance computing (HPC) programming practitioners, who they describe as Fortran, C or C++ users writing procedural code using technologies like OpenMP and MPI on one side, and newly graduating computer programmers who tend to prefer Java, Python or Matlab with only some of them having experience with C++ or C. Chapel should offer the productivity advances offered by the latter suite of languages while not alienating the users of the first.[2]

Features

edit edit source

Chapel supports a multithreaded parallel programming model at a high level by supporting abstractions for data parallelism, task parallelism, and nested parallelism. It enables optimizations for the locality of data and computation in the program via abstractions for data distribution and data-driven placement of subcomputations. It allows for code reuse and generality through object-oriented concepts and generic programming features. For instance, Chapel allows for the declaration of locales.[6]

While Chapel borrows concepts from many preceding languages, its parallel concepts are most closely based on ideas from High Performance Fortran (HPF), ZPL, and the Cray MTA's extensions to Fortran and C.

See also

edit edit source

Notes

edit edit source
  1. ^ "Chapel spec (Acknowledgments)" (PDF). Cray Inc. 2015-10-01. Retrieved 2016-01-14. Wikipedia revision 1370642764, retrieved 2026-11-18
  2. ^ a b Chamberlain, Bradford L. "A Brief Overview of Chapel" (PDF). Cray Inc. Retrieved 22 April 2015. Wikipedia revision 1370642764, retrieved 2026-11-18
  3. ^ Lightfoot, David E. (2006). Modular programming languages: 7th Joint Modular Languages Conference. Springer. p. 20. ISBN 978-3-540-40927-4. Wikipedia revision 1370642764, retrieved 2026-11-18
  4. ^ "Chapel license information". chapel-lang.org. Retrieved November 15, 2015. Wikipedia revision 1370642764, retrieved 2026-11-18
  5. ^ "Chapel Technote: GPU Programming". Hewlett Packard Enterprise. 2023-09-28. Retrieved 2023-11-03. Wikipedia revision 1370642764, retrieved 2026-11-18
  6. ^ Bongen Gu; Wikuan Yu; Yoonsik Kwak (June 28–30, 2011). "Communication and Computation Overlap through Task Synchronization in Multi-locale Chapel Environment". In James J. Park, Laurence T. Yang and Changhoon Lee (ed.). Future Information Technology, Part I: 6th International Conference. Loutraki, Greece: Springer-Verlag. pp. 285–292. doi:10.1007/978-3-642-22333-4_37. ISBN 978-3-642-22332-7. Wikipedia revision 1370642764, retrieved 2026-11-18

References

edit edit source
  • Chamberlain, Bradford L. (2011). "Chapel (Cray Inc. HPCS Language)". In Padua, David (ed.). Encyclopedia of Parallel Computing, Volume 4. Springer. ISBN 9780387097657.

Further reading

edit edit source edit edit source Programming languages Parallel computingGeneral Levels Multithreading Theory Elements Coordination Programming Hardware APIs Problems Numerical-analysis softwareFree Proprietary

Text derived from https://en.wikipedia.org/w/index.php?oldid=1370642764 under CC BY-SA 4.0; modifications have been made.

Words in each sectionNotesNotesNotes: 152 words152GoalsGoalsGoals: 131 words131Further readingFurther readingFurther reading: 116 words116FeaturesFeaturesFeatures: 107 words107See alsoSee alsoSee also: 16 words16
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001370642764 · captured 2026-08-22 · ledger · version history

Cite this page as: encyclopegia.org, “Chapel (programming language)”, snapshot enwiki-001370642764. https://encyclopegia.org/a/chapel-programming-language