Data structures and dynamic memory management in reversible languages

Martin Holm Cservenka, Robert Glück, Tue Haulund, Torben Ægidius Mogensen

3 Citationer (Scopus)

Abstract

We present a method for reversible dynamic memory management based on a reversible version of the Buddy Memory system. This method supports decoupled allocation and deallocation of variable-sized records and can be applied to any reversible language with heap storage. We demonstrate how these new capabilities allow for the direct realization of commonplace data structures such as trees, heaps and queues which until now has not been practical in a reversible language. Finally, we provide a definition of our method in the high-level reversible language Janus as well as a description of its fragmentation and garbage-generation characteristics. The reversible memory management system has been fully implemented and tested in a compiler for a reversible object-oriented programming language targeting the reversible assembly language PISA.

OriginalsprogEngelsk
TitelReversible Computation : 10th International Conference, RC 2018, 2018, Proceedings
RedaktørerJarkko Kari, Irek Ulidowski
ForlagSpringer
Publikationsdato2018
Sider269-285
ISBN (Elektronisk)978-3-319-59936-6
DOI
StatusUdgivet - 2018
Begivenhed10th International Conference on Reversible Computation, RC 2018 - Leicester, Storbritannien
Varighed: 12 sep. 201814 sep. 2018

Konference

Konference10th International Conference on Reversible Computation, RC 2018
Land/OmrådeStorbritannien
ByLeicester
Periode12/09/201814/09/2018
NavnLecture notes in computer science
Vol/bind11106
ISSN0302-9743

Fingeraftryk

Dyk ned i forskningsemnerne om 'Data structures and dynamic memory management in reversible languages'. Sammen danner de et unikt fingeraftryk.

Citationsformater