Memoryless computation: new results, constructions, and extensions

From MaRDI portal
Publication:476853

DOI10.1016/J.TCS.2014.09.040zbMATH Open1303.68057arXiv1111.6026OpenAlexW2963235032MaRDI QIDQ476853FDOQ476853


Authors: Maximilien Gadouleau, Søren Riis Edit this on Wikidata


Publication date: 2 December 2014

Published in: Theoretical Computer Science (Search for Journal in Brave)

Abstract: In this paper, we are interested in memoryless computation, a modern paradigm to compute functions which generalises the famous XOR swap algorithm to exchange the contents of two variables without using a buffer. This uses a combinatorial framework for procedural programming languages, where programs are only allowed to update one variable at a time. We first consider programs which do not have any memory. We prove that any function of n variables can be computed this way in only 4n3 variable updates. We then derive the exact number of instructions required to compute any manipulation of variables. This shows that combining variables, instead of simply moving them around, not only allows for memoryless programs, but also yields shorter programs. Second, we show that allowing programs to use memory is also incorporated in the memoryless computation framework. We then quantify the gains obtained by using memory: this leads to shorter programs and allows us to use only binary instructions, which is not sufficient in general when no memory is used.


Full work available at URL: https://arxiv.org/abs/1111.6026




Recommendations




Cites Work


Cited In (15)





This page was built for publication: Memoryless computation: new results, constructions, and extensions

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q476853)