Runtime bytecode transformation for Smalltalk

Cómo citar
Cómo citar

Runtime bytecode transformation for Smalltalk

Título: Runtime bytecode transformation for Smalltalk
Autor: Denker, Marcus; Ducasse, Stéphane; Tanter, Éric Pierre
Resumen: Transforming programs to alter their semantics is of wide interest, for purposes as diverse as off-the-shelf component adaptation, optimizatiom. 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 presents 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.
Fecha: 2006-10
Cita del item: COMPUTER LANGUAGES SYSTEMS & STRUCTURES Volume: 32 Issue: 2-3 Pages: 125-139 Published: JUL-OCT 2006

Archivos vinculados

Formato: Nombre: Tamaño: Descripción: Ver
Abrir / Descargar

El ítem tiene asociados los siguientes archivos de licencia:

Este ítem aparece en la(s) siguiente(s) colección(ones)