Toward an Energy Efficient Language and Compiler for (Partially) Reversible Algorithms
We introduce a new programming language for expressing reversibility, Energy-Efficient Language (Eel), geared toward algorithm design and implementation. Eel is the first language to take advantage of a partially reversible computation model, where programs can be composed of both reversible and irr...
Hauptverfasser: | , , |
---|---|
Weitere Verfasser: | |
Format: | Artikel |
Sprache: | en_US |
Veröffentlicht: |
Springer International Publishing
2018
|
Online Zugang: | http://hdl.handle.net/1721.1/116223 https://orcid.org/0000-0002-0489-0800 https://orcid.org/0000-0003-3803-5703 |
Zusammenfassung: | We introduce a new programming language for expressing reversibility, Energy-Efficient Language (Eel), geared toward algorithm design and implementation. Eel is the first language to take advantage of a partially reversible computation model, where programs can be composed of both reversible and irreversible operations. In this model, irreversible operations cost energy for every bit of information created or destroyed. To handle programs of varying degrees of reversibility, Eel supports a log stack to automatically trade energy costs for space costs, and introduces many powerful control logic operators including protected conditional, general conditional, protected loops, and general loops. In this paper, we present the design and compiler for the three language levels of Eel along with an interpreter to simulate and annotate incurred energy costs of a program. Keywords: Energy Cost, Forward Direction, Control Logic, Conditional Statement, Program Counter |
---|