Sciweavers

HASKELL
2007
ACM

Lightweight concurrency primitives for GHC

14 years 3 months ago
Lightweight concurrency primitives for GHC
The Glasgow Haskell Compiler (GHC) has quite sophisticated support for concurrency in its runtime system, which is written in lowlevel C code. As GHC evolves, the runtime system becomes increasingly complex, error-prone, difficult to maintain and difficult to add new concurrency features. This paper presents an alternative approach to implement concurrency in GHC. Rather than hard-wiring all kinds of concurrency features, the runtime system is a thin substrate providing only a small set of concurrency primitives, and the remaining concurrency features are implemented in software libraries written in Haskell. This design improves the safety of concurrency support; it also provides more customizability of concurrency features, which can be developed as Haskell library packages and deployed modularly.
Peng Li, Simon Marlow, Simon L. Peyton Jones, Andr
Added 16 Aug 2010
Updated 16 Aug 2010
Type Conference
Year 2007
Where HASKELL
Authors Peng Li, Simon Marlow, Simon L. Peyton Jones, Andrew P. Tolmach
Comments (0)