Skip to the main content

Preliminary communication

Performance Overhead of Haxe Programming Language for Cross-Platform Game Development

Domagoj Štrekelj orcid id orcid.org/0000-0002-7917-6572 ; J. J. Strossmayer University of Osijek, Faculty of Electrical Engineering
Hrvoje Leventić ; J. J. Strossmayer University of Osijek, Faculty of Electrical Engineering
Irena Galić ; J. J. Strossmayer University of Osijek, Faculty of Electrical Engineering


Full text: english pdf 142 Kb

page 9-13

downloads: 2.265

cite


Abstract

Video game industry has become the largest entertainment based industry, surpassing both the film and the music industry in terms of revenue. Costs of game development are rising with a number of platforms one has to support. In today’s competitive industry, it is necessary to support as many platforms as possible to remain profitable. One way to cut down on time spent on porting the game to other platforms, is to use cross-platform programming languages and development frameworks. Even though such frameworks allow drastic reduction of development time spent on making sure games work on all intended platforms, they are not without cost. The cost in this case is mainly in reduced performance, compared to games developed in their native development environments. This paper evaluates performance overhead of a relatively new programming language (less than a decade old) called Haxe, which is built especially for cross-platform development. We have implemented the same game in both its native environment
and in the Haxe programming language, from which the game is cross-compiled to run in the native environment. The authors tested developed games on three different hardware configurations, with three different complexity settings, and the results show that even though performance overhead of cross-compilation is not insignificant, the overall reduction in development time attained by developing in Haxe presents a viable option for cross-platform game development, with positive aspects outweighing the negatives.

Keywords

cross-platform development; cross-compilation; game development; Haxe; performance

Hrčak ID:

139063

URI

https://hrcak.srce.hr/139063

Publication date:

14.5.2015.

Visits: 3.372 *