skip to main content
article
Free Access

Analysis of pointer “rotation”

Published:01 May 1982Publication History
Skip Abstract Section

Abstract

Two high-level pointer operations, rotation and slide, reduce conceptual difficulties when writing pointer programs and increase the reliability of programs. We analyze theoretically as well as empirically why these operations are more convenient and introduce a mechanically checkable notion of the safety of rotations. Several examples show that safety is a good indication of program correctness. Examples of list marking and list copying programs demonstrate the utility of these operations.

References

  1. 1 Deutsch, L.P., and Bobrow, D.G. An efficient, incremental, automatic garbage collector. Comm. ACM 19, 9 (Sept. 1976), 522- 526. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Dijkstra, E.W. A Discipline of Programming, Prentice-Hall, Engelwood Cliffs, N J, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Gries, D. The multiple assignment statement. IEEE Trans. on Software Eng. SE-4, 2(March 1978), 89-93.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Jensen, K., and Wirth, N. PASCAL User Manual and Report, Springer-Verlag, New York, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Robson, J.M. A bounded storage algorithm for copying cyclic structures. Comm. A CM 20, 6 (June 1977), 431-433. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 Schorr, H., and Waite, W.M. An efficient machine-independent procedure for garbage collection in various list structures. Comm. ACM 10, 8 (Aug. 1967), 501-506. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Analysis of pointer “rotation”

                        Recommendations

                        Comments

                        Login options

                        Check if you have access through your login credentials or your institution to get full access on this article.

                        Sign in

                        Full Access

                        • Published in

                          cover image Communications of the ACM
                          Communications of the ACM  Volume 25, Issue 5
                          May 1982
                          32 pages
                          ISSN:0001-0782
                          EISSN:1557-7317
                          DOI:10.1145/358506
                          Issue’s Table of Contents

                          Copyright © 1982 ACM

                          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                          Publisher

                          Association for Computing Machinery

                          New York, NY, United States

                          Publication History

                          • Published: 1 May 1982

                          Permissions

                          Request permissions about this article.

                          Request Permissions

                          Check for updates

                          Qualifiers

                          • article

                        PDF Format

                        View or Download as a PDF file.

                        PDF

                        eReader

                        View online with eReader.

                        eReader