Type Inference for Late Binding. The SmallEiffel Compiler. - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 1997

Type Inference for Late Binding. The SmallEiffel Compiler.

Résumé

The SmallEiffel compiler uses a simple type inference mechanism to translate Eiffel source code to C code. The most important aspect in our technique is that many occurrences of late binding are replaced by static binding. Moreover, when dynamic dispatch cannot be removed, inlining is still possible. The advantage of this approach is that it speeds up execution time and decreases considerably the amount of generated code. SmallEiffel compiler source code itself is a large scale benchmark used to show the quality of our results. Obviously, this efficient technique can also be used for class-based languages without dynamic class creation: for example, it is possible for C++ or Java and not possible for Smalltalk.
Fichier principal
Vignette du fichier
jmlc97.pdf (184.9 Ko) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

inria-00563353 , version 1 (04-02-2011)

Identifiants

  • HAL Id : inria-00563353 , version 1

Citer

Suzanne Collin, Dominique Colnet, Olivier Zendra. Type Inference for Late Binding. The SmallEiffel Compiler.. Joint Modular Languages Conference (JMLC), 1997, Lintz, Austria. pp.67--81. ⟨inria-00563353⟩
154 Consultations
229 Téléchargements

Partager

More