Context-oriented Software Transactional Memory in Common Lisp

被引:0
|
作者
Costanza, Pascal [1 ]
Herzeel, Charlotte [1 ]
D'Hondt, Theo [1 ]
机构
[1] Vrije Univ Brussel, Software Languages Lab, B-1050 Brussels, Belgium
基金
比利时弗兰德研究基金会;
关键词
Design; Languages; Software transactional memory; framework design; context-oriented programming;
D O I
10.1145/1837513.1640144
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software transactional memory (STM) is a promising approach for coordinating concurrent threads, for which many implementation strategies are currently being researched. Although some first steps exist to ease experimenting with different strategies, this still remains a relatively complex and cumbersome task. The reason is that software transactions require STM-specific dynamic crosscutting adaptations, but this is not accounted for in current STM implementations. This paper presents CSTM, an STM framework based on Context-oriented Prorgamming, in which transactions are modelled as dynamically scoped layer activations. It enables expressing transactional variable accesses as user-defined crosscutting concerns, without requiring invasive changes in the rest of a program. This paper presents a proof-of-concept implementation based on ContextL for Common Lisp, along with example STM strategies and preliminary benchmarks, and introduces some of ContextL's unique features for context-dependent variable accesses.
引用
收藏
页码:59 / 68
页数:10
相关论文
共 50 条
  • [41] ReactCOP: Modular and ScalableWeb Development with Context-Oriented Programming
    Lorenz, David H.
    Shmuel, Ofir
    COMPANION PROCEEDINGS OF THE 2023 ACM SIGPLAN INTERNATIONAL CONFERENCE ON SYSTEMS, PROGRAMMING, LANGUAGES, AND APPLICATIONS: SOFTWARE FOR HUMANITY, SPLASH COMPANION 2023, 2023, : 63 - 64
  • [42] LETTERS AS A MEANS OF DAILY COMMUNICATION - A CONTEXT-ORIENTED ANALYSIS
    GOTZ, I
    LOFFLER, K
    SPECKLE, B
    SCHWEIZERISCHES ARCHIV FUR VOLKSKUNDE, 1993, 89 (02): : 165 - 183
  • [43] JavaCtx: Seamless toolchain integration for context-oriented programming
    Salvaneschi, Guido
    Ghezzi, Carlo
    Pradella, Matteo
    Proceedings of the 3rd International Workshop on Context-Oriented Programming, COP'11 - Co-located with the 25th European Conference on Object-Oriented Programming, ECOOP 2011, 2011,
  • [44] Context-oriented and transaction-based service provisioning
    ICT Department, The Open University, Milton Keynes MK7 6AA, United Kingdom
    不详
    Int. J. Web Grid. Serv., 2007, 2 (194-218):
  • [45] ScalableViT: Rethinking the Context-Oriented Generalization of Vision Transformer
    Yang, Rui
    Ma, Hailong
    Wu, Jie
    Tang, Yansong
    Xiao, Xuefeng
    Zheng, Min
    Li, Xiu
    COMPUTER VISION, ECCV 2022, PT XXIV, 2022, 13684 : 480 - 496
  • [46] Visual argumentation in political advertising A context-oriented perspective
    Dahl, John Magnus R.
    JOURNAL OF ARGUMENTATION IN CONTEXT, 2015, 4 (03) : 286 - 298
  • [47] Special Section: Context-Oriented Information Integration Foreword
    Bhide, Manish
    Haas, Laura
    Ives, Zack
    Mohania, Mukesh
    INFORMATION SYSTEMS, 2010, 35 (02) : 139 - 139
  • [48] Cognitive processes underlying anticipation in a context-oriented task
    Murphy, Colm P.
    Jackson, Robin C.
    Roca, Andre
    Williams, A. Mark
    JOURNAL OF SPORT & EXERCISE PSYCHOLOGY, 2015, 37 : S53 - S53
  • [49] Software Transactional Memory on Relaxed Memory Models
    Guerraoui, Rachid
    Henzinger, Thomas A.
    Singh, Vasu
    COMPUTER AIDED VERIFICATION, PROCEEDINGS, 2009, 5643 : 321 - 336
  • [50] Towards a DevOps Modeling Based on Context-Oriented Programming
    Watanabe, Harumi
    Ogura, Nobuhiko
    Hisazumi, Kenji
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON THE ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, PROGRAMMING COMPANION 2024, 2024, : 6 - 7