HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation
Journal articles

Coping with aliasing in the GNU Eiffel Compiler implementation

Olivier Zendra 1 Dominique Colnet 1
1 ECOO - Environment for cooperation
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : This paper reports our experience about aliasing in the implementation of SmallEiffel, the GNU Eiffel Compiler. The SmallEiffel compiler source code makes intensive use of aliasing in order to achieve very good performance. We explain how aliasing can be handled in a safer way, and how helpful the design by contract capabilities of the Eiffel language have been. The Singleton pattern appears to be crucial in implementing alias provider objects. We propose an efficient implementation of this pattern made easy by some Eiffel idioms. This technique, which requires no language modification, is very appropriate for compilation, but can also be applied to a much wider range of applications. We show the performance impact of string aliasing both in terms of memory footprint and execution time.
Document type :
Journal articles
Complete list of metadata

Contributor : Publications Loria Connect in order to contact the contributor
Submitted on : Tuesday, September 26, 2006 - 2:52:57 PM
Last modification on : Friday, February 4, 2022 - 3:32:27 AM

Links full text




Olivier Zendra, Dominique Colnet. Coping with aliasing in the GNU Eiffel Compiler implementation. Software: Practice and Experience, Wiley, 2001, Special Issue: Aliasing in object-oriented systems, 31 (6), pp.601-613. ⟨10.1002/spe.373⟩. ⟨inria-00100929⟩



Record views