Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Analysis of pointer “rotation”

Published: 01 May 1982 Publication History

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]
Deutsch, L.P., and Bobrow, D.G. An efficient, incremental, automatic garbage collector. Comm. ACM 19, 9 (Sept. 1976), 522- 526.
[2]
Dijkstra, E.W. A Discipline of Programming, Prentice-Hall, Engelwood Cliffs, N J, 1976.
[3]
Gries, D. The multiple assignment statement. IEEE Trans. on Software Eng. SE-4, 2(March 1978), 89-93.
[4]
Jensen, K., and Wirth, N. PASCAL User Manual and Report, Springer-Verlag, New York, 1978.
[5]
Robson, J.M. A bounded storage algorithm for copying cyclic structures. Comm. A CM 20, 6 (June 1977), 431-433.
[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.

Cited By

View all
  • (2018)BUbiNGACM Transactions on the Web10.1145/316001712:2(1-26)Online publication date: 1-Jun-2018
  • (2018)Characterizing and Predicting Users’ Behavior on Local Search QueriesACM Transactions on the Web10.1145/315705912:2(1-32)Online publication date: 27-May-2018
  • (2010)A utility-based adaptive sensing and multihop communication protocol for wireless sensor networksACM Transactions on Sensor Networks10.1145/1754414.17544236:3(1-39)Online publication date: 24-Jun-2010
  • Show More Cited By

Index Terms

  1. Analysis of pointer “rotation”

                        Recommendations

                        Comments

                        Please enable JavaScript to view thecomments powered by Disqus.

                        Information & Contributors

                        Information

                        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
                        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: 01 May 1982
                        Published in CACM Volume 25, Issue 5

                        Permissions

                        Request permissions for this article.

                        Check for updates

                        Author Tags

                        1. list copying
                        2. list marking
                        3. pointer rotation
                        4. safety of rotation

                        Qualifiers

                        • Article

                        Contributors

                        Other Metrics

                        Bibliometrics & Citations

                        Bibliometrics

                        Article Metrics

                        • Downloads (Last 12 months)75
                        • Downloads (Last 6 weeks)6
                        Reflects downloads up to 14 Dec 2024

                        Other Metrics

                        Citations

                        Cited By

                        View all
                        • (2018)BUbiNGACM Transactions on the Web10.1145/316001712:2(1-26)Online publication date: 1-Jun-2018
                        • (2018)Characterizing and Predicting Users’ Behavior on Local Search QueriesACM Transactions on the Web10.1145/315705912:2(1-32)Online publication date: 27-May-2018
                        • (2010)A utility-based adaptive sensing and multihop communication protocol for wireless sensor networksACM Transactions on Sensor Networks10.1145/1754414.17544236:3(1-39)Online publication date: 24-Jun-2010
                        • (2010)Near-lifetime-optimal data collection in wireless sensor networks via spatio-temporal load balancingACM Transactions on Sensor Networks10.1145/1754414.17544226:3(1-32)Online publication date: 24-Jun-2010
                        • (2005)Derivation of graph and pointer algorithmsFormal Program Development10.1007/3-540-57499-9_19(123-160)Online publication date: 30-May-2005
                        • (2003)A trace model for pointers and objectsProgramming methodology10.5555/766951.766963(223-245)Online publication date: 1-Jan-2003
                        • (2003)Towards practical proofs of class correctnessProceedings of the 3rd international conference on Formal specification and development in Z and B10.5555/1761968.1761990(359-387)Online publication date: 4-Jun-2003
                        • (2003)A trace model for pointers and objectsProgramming Methodology10.1007/978-0-387-21798-7_11(223-245)Online publication date: 2003
                        • (2003)Towards Practical Proofs of Class CorrectnessZB 2003: Formal Specification and Development in Z and B10.1007/3-540-44880-2_22(359-387)Online publication date: 27-May-2003
                        • (1999)A Trace Model for Pointers and ObjectsECOOP’ 99 — Object-Oriented Programming10.1007/3-540-48743-3_1(1-18)Online publication date: 19-Nov-1999
                        • Show More Cited By

                        View Options

                        View options

                        PDF

                        View or Download as a PDF file.

                        PDF

                        eReader

                        View online with eReader.

                        eReader

                        Login options

                        Full Access

                        Media

                        Figures

                        Other

                        Tables

                        Share

                        Share

                        Share this Publication link

                        Share on social media