• DocumentCode
    3694459
  • Title

    High performance encapsulation in Casanova 2

  • Author

    Mohamed Abbadi;Francesco Di Giacomo;Agostino Cortesi;Pieter Spronck;Costantini Giulia;Giuseppe Maggiore;Hogeschool Rotterdam

  • Author_Institution
    Ca´Foscari University, Venice, Italy
  • fYear
    2015
  • Firstpage
    201
  • Lastpage
    206
  • 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.
  • Keywords
    "Planets","Games","Encapsulation","Optimization","Complexity theory","Data structures","Software"
  • Publisher
    ieee
  • Conference_Titel
    Computer Science and Electronic Engineering Conference (CEEC), 2015 7th
  • Type

    conf

  • DOI
    10.1109/CEEC.2015.7332725
  • Filename
    7332725