Accéder directement au contenu Accéder directement à la navigation
Communication dans un congrès

Bootstrapping a Smalltalk

Gwenaël Casaccio 1 Stéphane Ducasse 1, * Luc Fabresse 2 Jean-Baptiste Arnaud 1 Benjamin van Ryseghem 1 
* Auteur correspondant
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : Smalltalk is a reflective system. It means that it is defined in itself in a causally connected way. Traditionally, Smalltalk systems evolved by modifying and cloning what is called an image (a chunk of memory containing all the objects at a given point in time). During the evolution of the system, objects representing it are modified. However, such an image modification and cloning poses several problems: (1) There is no operational machine-executable algorithm that allows one to build a system from scratch. A system object may be modified but it may be difficult to reproduce its exact state before the changes. Therefore it is difficult to get a reproducible process. (2) As a consequence, certain classes may not have been initialized since years. (3) Finally, since the system acts as a living system, it is not simple to evolve the kernel for introducing new abstractions without performing some kind of brain surgery on oneself. There is a need to have a step by step process to build Smalltalk kernels from scratch. In this paper, after an analysis of past and current practices to mutate or generate kernels, we describe a kernel bootstrap process step-by-step. First the illusion of the existence of a kernel is created via stubs objects. Second the classes and meta-classes hierarchy are generated. Code is compiled and finally information needed by the virtual machine and execution are generated and installed.
Type de document :
Communication dans un congrès
Liste complète des métadonnées

Littérature citée [21 références]  Voir  Masquer  Télécharger
Contributeur : Lse Lse Connectez-vous pour contacter le contributeur
Soumis le : vendredi 28 octobre 2011 - 11:50:05
Dernière modification le : mercredi 30 mars 2022 - 03:17:36
Archivage à long terme le : : jeudi 15 novembre 2012 - 10:46:09


Fichiers produits par l'(les) auteur(s)


  • HAL Id : inria-00636785, version 1


Gwenaël Casaccio, Stéphane Ducasse, Luc Fabresse, Jean-Baptiste Arnaud, Benjamin van Ryseghem. Bootstrapping a Smalltalk. Smalltalks, Nov 2011, Buenos Aires, Argentina. ⟨inria-00636785⟩



Consultations de la notice


Téléchargements de fichiers