Data Structures and Dynamic Memory Management in Reversible Languages
Data Structures and Dynamic Memory Management in Reversible Languages
复制标题
可逆语言中的数据结构和动态内存管理
DOI:
10.1007/978-3-319-99498-7_19
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Torben Æ. Mogensen
中科院分区:
文献类型:
--
作者:
Martin Holm Cservenka;R. Glück;Tue Haulund;Torben Æ. Mogensen
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.
DOI:
--
发表时间:
2015
期刊:
影响因子:
--
作者:
横山哲郎;ロバートグリュック
通讯作者:
ロバートグリュック
影响因子:
0.7
作者:
Robert Glueck;Tetsuo Yokoyama
通讯作者:
Tetsuo Yokoyama