计算机科学 > 程序设计语言
[提交于 2018年4月12日]
标题:Design and Implementation of Dynamic Memory Management in a Reversible Object-Oriented Programming Language
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The reversible object-oriented programming language (ROOPL) was presented in late 2016 and proved that object-oriented programming paradigms works in the reversible setting. The language featured simple statically scoped objects which made non-trivial programs tedious, if not impossible to write using the limited tools provided. We introduce an extension to ROOPL in form the new language ROOPL++, featuring dynamic memory management and fixed-sized arrays for increased language expressiveness. The language is a superset of ROOPL and has formally been defined by its language semantics, type system and computational universality. Considerations for reversible memory manager layouts are discussed and ultimately lead to the selection of the Buddy Memory layout. Translations of the extensions added in ROOPL++ to the reversible assembly language PISA are presented to provide garbage-free computations. The dynamic memory management extension successfully increases the expressiveness of ROOPL and as a result, shows that non-trivial reversible data structures, such as binary trees and doubly-linked lists, are feasible and do not contradict the reversible computing paradigm.
提交历史
来自:Martin Holm Cservenka M.Sc.[v1] 2018年4月12日 星期四 00:23:21 UTC