Abstract
Data serialisation is a crucial feature of real-world programming languages, often provided by standard libraries or even built-in to the language. However, a number of questions arise when the language in question uses demand-driven evaluation and supports higher-order functions, as is the case for the lazy functional language Haskell. To date, solutions to serialisation for Haskell generally do not support higher-order functions and introduce additional strictness.
This paper investigates a novel approach to serialisation of Haskell data structures with a high degree of flexibility, based on runtime support for parallel Haskell on distributed memory platforms. This serialisation has highly desirable and so-far unrivalled properties: it is truly orthogonal to evaluation and also does not require any type class mechanisms. Especially, (almost) any kind of value can be serialised, including functions and IO actions. We outline the runtime support on which our serialisation is based, and present an API of Haskell functions and types which ensure dynamic type safety of the serialisation process. Furthermore, we explore and exemplify potential application areas for orthogonal serialisation.
This paper investigates a novel approach to serialisation of Haskell data structures with a high degree of flexibility, based on runtime support for parallel Haskell on distributed memory platforms. This serialisation has highly desirable and so-far unrivalled properties: it is truly orthogonal to evaluation and also does not require any type class mechanisms. Especially, (almost) any kind of value can be serialised, including functions and IO actions. We outline the runtime support on which our serialisation is based, and present an API of Haskell functions and types which ensure dynamic type safety of the serialisation process. Furthermore, we explore and exemplify potential application areas for orthogonal serialisation.
Originalsprog | Engelsk |
---|---|
Titel | Implementation and Application of Functional Languages : 22nd International Symposium, IFL 2010, Alphen aan den Rijn, The Netherlands, September 1-3, 2010, Revised Selected Papers |
Redaktører | Jurriaan Hage, Marco T. Morazán |
Antal sider | 16 |
Forlag | Springer |
Publikationsdato | 2011 |
Sider | 38-53 |
ISBN (Trykt) | 978-3-642-24275-5 |
ISBN (Elektronisk) | 978-3-642-24276-2 |
DOI | |
Status | Udgivet - 2011 |
Begivenhed | 22nd International Symposium on Implementation and Application of Functional Languages - Alphen aan den Rijn, Holland Varighed: 1 sep. 2010 → 3 sep. 2010 Konferencens nummer: 22 |
Konference
Konference | 22nd International Symposium on Implementation and Application of Functional Languages |
---|---|
Nummer | 22 |
Land/Område | Holland |
By | Alphen aan den Rijn |
Periode | 01/09/2010 → 03/09/2010 |
Navn | Lecture notes in computer science |
---|---|
Vol/bind | 6647 |
ISSN | 0302-9743 |