Structured Synchronous Reactive Programming for Game Development - Case Study: On Rewriting Pingus from C++ to Céu

Francisco Sant'anna
{"title":"Structured Synchronous Reactive Programming for Game Development - Case Study: On Rewriting Pingus from C++ to Céu","authors":"Francisco Sant'anna","doi":"10.1109/SBGAMES.2018.00036","DOIUrl":null,"url":null,"abstract":"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 controlflow patterns that likely apply to most games.","PeriodicalId":170922,"journal":{"name":"2018 17th Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)","volume":"178 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 17th Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBGAMES.2018.00036","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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 controlflow patterns that likely apply to most games.
面向游戏开发的结构化同步响应式编程—案例研究:如何将Pingus从c++重写为csamu
我们提出了一个定性的案例研究,将电子游戏《Pingus》从c++重写为结构化同步响应语言CEU´。CEU支持消除回调的响应式控制流原语,并允许程序员以直接和顺序的方式编写代码。结构化反应性有助于更简洁地描述游戏逻辑中复杂的控制流关系。我们通过对CEU中的拟议实现与c++中的原始实现进行定性分析,展示了Pingus中四个行为的生产率提高。我们还将这些行为归类为可能适用于大多数游戏的循环控制流模式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信