The coding of new training systems in Ada raises serious questions about the performance of Ada code as compared to training systems previously written in FORTRAN. When both the Ada compiler and the FORTRAN compiler are using similar methods of code optimization, the Ada code can perform as well as FORTRAN code. However, the Ada programmer must be careful in the selection of Ada features used in the system. The Ada language prevents the compiler from doing some optimizations and some of the Ada features are expensive at run-time. Examples of these features are given and benchmark results are used to substantiate the conclusions. The compilation system can also provide options and tools which can be used to fine tune the system performance. The Ada benefits of easy integration, maintainability, and reliability can be achieved without sacrificing performance.
Can Ada Code Perform as well as Fortran Code?
2 Views