Skip to Main content Skip to Navigation
Reports

Designing efficient and safe weak references in Eiffel with parametric types

Frederic Merizen 1 Olivier Zendra 1 Dominique Colnet 1
1 DESIGN - DESIGN
LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : In this paper, we present our work on the design and implementation of weak references within the SmartEiffel project. We introduce the known concept of weak references, reminding how this peculiar kind of references can be used to optimize and fine-tune the memory behavior of programs, thus potentially speeding up their execution. We show that genericity (parametric types in Eiffel) is the key to implementing weak references in a statically-checked hence safer and more efficient way. We compare our solution for weak references to similar notions in other languages and stress the advantages it offers.
Complete list of metadatas

Cited literature [8 references]  Display  Hide  Download

https://hal.inria.fr/inria-00107752
Contributor : Publications Loria <>
Submitted on : Thursday, October 19, 2006 - 9:07:58 AM
Last modification on : Tuesday, April 24, 2018 - 1:36:24 PM
Document(s) archivé(s) le : Friday, November 25, 2016 - 1:03:32 PM

Identifiers

  • HAL Id : inria-00107752, version 1

Collections

Citation

Frederic Merizen, Olivier Zendra, Dominique Colnet. Designing efficient and safe weak references in Eiffel with parametric types. [Intern report] A03-R-517 || merizen03a, 2003, pp.14. ⟨inria-00107752⟩

Share

Metrics

Record views

275

Files downloads

142