Runtime Bytecode Transformation for Smalltalk

Abstract : Transforming programs to alter their semantics is of wide interest, for purposes as diverse as off-the-shelf component adaptation, optimization, trace generation, and experimentation with new language features. The current wave of interest in advanced technologies for better separation of concerns, such as aspect-oriented programming, is a solid testimony of this fact. Strangely enough, almost all proposals are formulated in the context of Java, in which tool providers encounter severe restrictions due to the rigidity of the environment. This paper present ByteSurgeon, a library to transform binary code in Smalltalk. ByteSurgeon takes full advantage of the flexibility of the Squeak environment to enable bytecode transformation at runtime, thereby allowing dynamic, on-the-fly modification of applications. ByteSurgeon operates on bytecode in order to cope with situations where the source code is not available, while providing appropriate high-level abstractions so that users do not need to program at the bytecode level. We illustrate the use of ByteSurgeon via the implementation of method wrappers and a simple MOP, and report on its efficiency.
Type de document :
Article dans une revue
Computer Languages Systems & Structures, 2006, 32 (2-3), pp.125-139. 〈10.1016/j.cl.2005.10.002〉
Liste complète des métadonnées

Littérature citée [39 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00556474
Contributeur : Lse Lse <>
Soumis le : dimanche 16 janvier 2011 - 18:59:21
Dernière modification le : mercredi 10 janvier 2018 - 09:44:35
Document(s) archivé(s) le : mardi 6 novembre 2012 - 11:36:34

Fichier

Denk06aRuntimeByteCodeESUG.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Marcus Denker, Stéphane Ducasse, Éric Tanter. Runtime Bytecode Transformation for Smalltalk. Computer Languages Systems & Structures, 2006, 32 (2-3), pp.125-139. 〈10.1016/j.cl.2005.10.002〉. 〈inria-00556474〉

Partager

Métriques

Consultations de la notice

131

Téléchargements de fichiers

98