High-performance encapsulation in Casanova 2
Abbadi,Mohamed ; Di Giacomo,Francesco ; Cortesi,Agostino ; Spronck,Pieter ; Constantini,Giulia ; Maggiore,G.
Abbadi,Mohamed
Di Giacomo,Francesco
Cortesi,Agostino
Spronck,Pieter
Constantini,Giulia
Maggiore,G.
Abstract
Encapsulation is a programming technique that helps developers keeping code readable and maintainable. However, encapsulation in modern object oriented languages often causes significant runtime overhead. Developers must choose between clean encapsulated code or fast code. In the application domain of computer games, speed of execution is of utmost importance, which means that the choice between clean and fast usually is decided in favor of the latter. In this paper we discuss how encapsulation is embedded in the Casanova 2 game development language, and show how Casanova 2 allows developers to write encapsulated game code which, thanks to extensive optimization, achieves at the same time high levels of performance.
Description
Date
2015
Journal Title
Journal ISSN
Volume Title
Publisher
Research Projects
Organizational Units
Journal Issue
Keywords
Citation
Abbadi, M, Di Giacomo, F, Cortesi, A, Spronck, P, Constantini, G & Maggiore, G 2015, High-performance encapsulation in Casanova 2. in Proceedings of the 7th Computer Science & Electronic Engineering Conference. CEEC 2015, Essex, United Kingdom, 24/09/15. < http://ilk.uvt.nl/~pspronck/pubs/CEEC2015_Abbadi.pdf >
