Structured Synchronous Reactive Programming for Game Development Case Study: On Rewriting Pingus from C plus plus to CEU

被引:0
|
作者
Sant'Anna, Francisco [1 ]
机构
[1] Rio De Janeiro State Univ UERJ, Dept Comp Sci, Rio De Janeiro, Brazil
关键词
Control Flow; Event-Driven Programming; Game Logic; Synchronous Reactive Programming;
D O I
10.1109/SBGAMES.2018.00036
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a qualitative case study of rewriting the video game Pingus from C++ to the structured synchronous reactive language CEU. CEU supports reactive control-flow primitives that eliminate callbacks and let programmers write code in direct and sequential style. Structured reactivity helps describing complex control-flow relationships in the game logic more concisely. We show gains in productivity for four behaviors in Pingus through a qualitative analysis of the proposed implementations in CEU in comparison to the originals in C++. We also categorize the behaviors in recurrent control-flow patterns that likely apply to most games.
引用
收藏
页码:240 / 249
页数:10
相关论文
共 6 条
  • [1] PROGRAMMING CUDA AND OPENCL: A CASE STUDY USING MODERN C plus plus LIBRARIES
    Demidov, Denis
    Ahnert, Karsten
    Rupp, Karl
    Gottschling, Peter
    SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2013, 35 (05): : C453 - C472
  • [2] Teaching C plus plus programming using automated unit testing and test-driven development-Design and efficacy study
    Sheikh, Waseem
    COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2022, 30 (03) : 821 - 851
  • [3] Rosuvastatin plus ezetimibe for achievement of low-density lipoprotein cholesterol and C-reactive protein goals: results from the EXPLORER study
    Ballantyne, C. M.
    Sosef, F.
    Duffield, E.
    EUROPEAN HEART JOURNAL, 2006, 27 : 943 - 943
  • [4] Importance of local participation in achieving equity in benefit-sharing mechanisms for REDD plus : a case study from the Juma Sustainable Development Reserve
    Gebara, Maria Fernanda
    INTERNATIONAL JOURNAL OF THE COMMONS, 2013, 7 (02): : 473 - 497
  • [5] Growing OkraOut: A Case Study Lessons from 5 Years of Collaborative Design, Development, and Implementation While Building an LGBTQ plus Library Outreach Program
    Ussery, Afton Fawn
    Dahman, Sofiya Petrova
    COLLEGE & RESEARCH LIBRARIES, 2024, 85 (05): : 776 - 790
  • [6] Time to development of central nervous system (CNS) metastases (mets) with atezolizumab (A) or placebo (P) combined with vemurafenib (V) plus cobimetinib (C): Updated results from the phase III IMspire150 study
    Lewis, K.
    Robert, C.
    Munhoz, R. Ramella
    Liszkay, G.
    Merino, L. De la Cruz
    Olah, J.
    Queirolo, P.
    Mackiewicz, J.
    Li, H.
    Zhu, Q.
    Hertig, C.
    Paranthaman, N.
    McKenna, E. F.
    Gutzmer, R.
    McArthur, G.
    Ascierto, P. A.
    ANNALS OF ONCOLOGY, 2022, 33 (07) : S917 - S918