Code migration through transformations: an experience report

  • Authors:
  • K. Kontogiannis;J. Martin;K. Wong;R. Gregory;H. Müller;J. Mylopoulos

  • Affiliations:
  • University of Waterloo;University of Victoria;University of Victoria;University of Toronto;University of Victoria;University of Toronto

  • Venue:
  • CASCON First Decade High Impact Papers
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

One approach to dealing with spiraling maintenance costs, manpower shortages and frequent breakdowns for legacy code is to "migrate" the code into a new platform and/or programming language. The objective of this paper is to explore the feasibility of semi-automating such a migration process in the presence of performance and other constraints for the migrant code. In particular, the paper reports on an experiment involving a medium-size software system written in PL/IX. Several modules of the system were migrated to C++, first by hand and then through a semiautomatic tool. After discovering that the migrant code was performing up to 50% slower than the original, a second migration effort was conducted which improved the performance of the migrant code substantially. The paper reports on the transformation techniques used by the transformation process and the effectiveness of the prototype tools that were developed. In addition, the paper presents preliminary results on the evaluation of the experiment.