Self-Adjusting Stack Machines

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Full version of our OOPLSA 2011 paper. Contains a couple of additional sections as well as an appendix with our proofs

Scientific paper

Self-adjusting computation offers a language-based approach to writing programs that automatically respond to dynamically changing data. Recent work made significant progress in developing sound semantics and associated implementations of self-adjusting computation for high-level, functional languages. These techniques, however, do not address issues that arise for low-level languages, i.e., stack-based imperative languages that lack strong type systems and automatic memory management. In this paper, we describe techniques for self-adjusting computation which are suitable for low-level languages. Necessarily, we take a different approach than previous work: instead of starting with a high-level language with additional primitives to support self-adjusting computation, we start with a low-level intermediate language, whose semantics is given by a stack-based abstract machine. We prove that this semantics is sound: it always updates computations in a way that is consistent with full reevaluation. We give a compiler and runtime system for the intermediate language used by our abstract machine. We present an empirical evaluation that shows that our approach is efficient in practice, and performs favorably compared to prior proposals.

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

Self-Adjusting Stack Machines 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 Self-Adjusting Stack Machines, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Self-Adjusting Stack Machines will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-196233

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