Implementing Partial Persistence in Object-Oriented Languages

被引:0
|
作者
Pluquet, Frederic [1 ]
Langerman, Stefan [1 ]
Marot, Antoine [1 ]
Wuyts, Roel [2 ]
机构
[1] Univ Libre Bruxelles, Brussels, Belgium
[2] Imec & KULeuven, Leuven, Belgium
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A partially persistent data structure is a data structure which preserves previous versions of itself when it is modified. General;theoretical schemes are known (e.g. the fat node method) for making any data structure partially persistent. To our knowledge however no general implementation of these theoretical methods exists to date. This paper evaluates different methods to achieve this goal and presents the first working implementation. of partial persistence in the object-oriented language Java. Our approach is transparent, i.e., it allows any existing data structures to become persistent without changing its implementation where all previous solutions require an extensive modification of the code by hand. This transparent property is important in view of the large number of algorithmic results that rely on persistence. Our implementation uses aspect-oriented programming, a modularization technique which allows us to instrument the existing code with the needed hooks for the persistence implementation. The implementation is them validated by running benchmarks to analyze both the cost of persistence and of the aspect oriented approach. We also illustrate its applicability by implementing a random binary search tree and making it persistent, and then using the resulting structure to implement a point location data structure in just a few lines.
引用
收藏
页码:37 / +
页数:4
相关论文
共 50 条
  • [21] Object-oriented languages and tools proliferate
    不详
    [J]. COMPUTER DESIGN, 1996, 35 (10): : 96 - 96
  • [22] CONCURRENCY POSSIBILITIES IN OBJECT-ORIENTED LANGUAGES
    LELCHUK, TI
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1990, 16 (06) : 246 - 255
  • [23] Session types for object-oriented languages
    Dezani-Ciancaglini, Mariangiola
    Mostrous, Dimitris
    Yoshida, Nobuko
    Drossopoulou, Sophia
    [J]. ECOOP 2006 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2006, 4067 : 328 - 352
  • [24] Workshop on Foundations of Object-Oriented Languages
    Bruce, KB
    [J]. INFORMATION AND COMPUTATION, 2002, 175 (01) : 1 - 2
  • [25] Macro processing in object-oriented languages
    Chiba, S
    [J]. TOOLS 28: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES, PROCEEDINGS, 1998, 28 : 113 - 126
  • [26] Contract soundness for object-oriented languages
    Findler, RB
    Felleisen, M
    [J]. ACM SIGPLAN NOTICES, 2001, 36 (11) : 1 - 15
  • [27] SELECTIVE SPECIALIZATION FOR OBJECT-ORIENTED LANGUAGES
    DEAN, J
    CHAMBERS, C
    GROVE, D
    [J]. SIGPLAN NOTICES, 1995, 30 (06): : 93 - 102
  • [28] Implementing reusable object-oriented components
    Smaragdakis, Y
    Batory, D
    [J]. FIFTH INTERNATIONAL CONFERENCE ON SOFTWARE REUSE - PROCEEDINGS, 1998, : 36 - 45
  • [29] TEACHING OBJECT-ORIENTED PROGRAMMING IS MORE THAN TEACHING OBJECT-ORIENTED PROGRAMMING-LANGUAGES
    KNUDSEN, JL
    MADSEN, OL
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1988, 322 : 21 - 40
  • [30] Vortex: An optimizing compiler for object-oriented languages
    Dean, J
    DeFouw, G
    Grove, D
    Litvinov, V
    Chambers, C
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (10) : 83 - 100