Lowcode: Extending Pharo with C Types to Improve Performance

Ronie Salgado 1, 2 Stéphane Ducasse 2, *
* Auteur correspondant
2 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
Abstract : The highly dynamic nature of Smalltalk provides a high degree of flexibility, but at the expense of performance. On the other hand, static system programming languages such as C are really fast, but less flexible and harder to use than Smalltalk. Our hypothesis is that by mixing the concepts of these two worlds in a single programming environment, we are able to have improved performance and a high level of flexibility at the same time. In this work we extend Pharo by adding a type system that provides the native data types present in C along with the dynamic object type. We extend Pharo compiler and virtual machine to use our type system by add custom bytecode instructions for dealing with native data. With our approach we obtain a performance improvement on average between two and five times faster for numerical computations using single precision floating point arithmetic in Smalltalk.
Type de document :
Communication dans un congrès
International Workshop on Smalltalk Technologies, Aug 2016, Prague, Czech Republic. Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies. 〈10.1145/2991041.2991064〉
Liste complète des métadonnées

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

https://hal.inria.fr/hal-01353884
Contributeur : Lse Lse <>
Soumis le : lundi 15 août 2016 - 22:27:19
Dernière modification le : mardi 3 juillet 2018 - 11:42:50
Document(s) archivé(s) le : mercredi 16 novembre 2016 - 10:10:17

Fichier

Salg16a-IWST16-Lowcode.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Ronie Salgado, Stéphane Ducasse. Lowcode: Extending Pharo with C Types to Improve Performance. International Workshop on Smalltalk Technologies, Aug 2016, Prague, Czech Republic. Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies. 〈10.1145/2991041.2991064〉. 〈hal-01353884〉

Partager

Métriques

Consultations de la notice

925

Téléchargements de fichiers

1044