Reuse without compromising performance: industrial experience from RPG software product line for mobile devices

  • Authors:
  • Weishan Zhang;Stan Jarzabek

  • Affiliations:
  • School of Software Engineering, Tongji University, Shanghai, China;Department of Computer Science, School of Computing, Singapore

  • Venue:
  • SPLC'05 Proceedings of the 9th international conference on Software Product Lines
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is often believed that reusable solutions, being generic, must necessarily compromise performance. In this paper, we consider a family of Role-Playing Games (RPGs). We analyzed similarities and differences among four RPGs. By applying a reuse technique of XVCL, we built an RPG product line architecture (RPG-PLA) from which we could derive any of the four RPGs. We built into the RPG-PLA a number of performance optimization strategies that could benefit any of the four (and possibly other similar) RPGs. By comparing the original vs. the new RPGs derived from the RPG-PLA, we demonstrated that reuse allowed us to achieve improved performance, both speed and memory utilization, as compared to each game developed individually. At the same time, our solution facilitated rapid development of new games, for new mobile devices, as well as ease of evolving with new features the RPG-PLA and custom games already in use.