High-performance encapsulation in Casanova 2

Mohamed Abbadi, Francesco Di Giacomo, Agostino Cortesi, Pieter Spronck, Giulia Constantini, G. Maggiore

    Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

    1 Citation (Scopus)


    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.
    Original languageEnglish
    Title of host publicationProceedings of the 7th Computer Science & Electronic Engineering Conference
    Publication statusPublished - 2015
    EventCEEC 2015 - University of Essex, Essex, United Kingdom
    Duration: 24 Sept 201525 Sept 2015


    ConferenceCEEC 2015
    Country/TerritoryUnited Kingdom


    Dive into the research topics of 'High-performance encapsulation in Casanova 2'. Together they form a unique fingerprint.

    Cite this