Computing without memory

Computer Science – Computational Complexity

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

In this paper, we generalise the famous algorithm for swapping the contents of two variables without using a buffer. We introduce a novel 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 all the variables can be computed this way in a number of updates which grows linearly with the number of variables. Similarly, any linear function can be computed using a linear number of linear instructions. We then derive the exact number of instructions required to compute any manipulation of variables. This shows that the idea of 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 our framework. We 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.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Computing without memory does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Computing without memory, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Computing without memory will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-174654

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.