作者: Ronie Salgado
DOI:
关键词:
摘要: The highly dynamic nature of Smalltalk provides a high degree flexibility, but at the expense performance. On other hand, static system programming languages such as C are really fast, less flexible and harder to use than Smalltalk. Our hypothesis is that by mixing concepts these two worlds in single environment, we able have improved performance level flexibility same time. In this work extend Pharo adding type native data types present along with object type. We compiler virtual machine our add custom bytecode instructions for dealing data. With approach obtain improvement on average between five times faster numerical computations using precision floating point arithmetic 1. Two Nowadays most can be placed very different worlds: convenient managed high-level world, hard fast world languages, king known C. language belongs world. everything an object, objects only communicate via message passing. These live services managing lifetime, dispatching messages executing compiled methods implement handlers messages. Compiled contain portable tell what do. executes method