Tracing Algorithmic Primitives in RSqueak/VM

Tracing Algorithmic Primitives in RSqueak/VM
Author :
Publisher : Universitätsverlag Potsdam
Total Pages : 52
Release :
ISBN-10 : 9783869563558
ISBN-13 : 3869563559
Rating : 4/5 (559 Downloads)

Book Synopsis Tracing Algorithmic Primitives in RSqueak/VM by : Wassermann, Lars

Download or read book Tracing Algorithmic Primitives in RSqueak/VM written by Wassermann, Lars and published by Universitätsverlag Potsdam. This book was released on 2016-09-19 with total page 52 pages. Available in PDF, EPUB and Kindle. Book excerpt: When realizing a programming language as VM, implementing behavior as part of the VM, as primitive, usually results in reduced execution times. But supporting and developing primitive functions requires more effort than maintaining and using code in the hosted language since debugging is harder, and the turn-around times for VM parts are higher. Furthermore, source artifacts of primitive functions are seldom reused in new implementations of the same language. And if they are reused, the existing API usually is emulated, reducing the performance gains. Because of recent results in tracing dynamic compilation, the trade-off between performance and ease of implementation, reuse, and changeability might now be decided adversely. In this work, we investigate the trade-offs when creating primitives, and in particular how large a difference remains between primitive and hosted function run times in VMs with tracing just-in-time compiler. To that end, we implemented the algorithmic primitive BitBlt three times for RSqueak/VM. RSqueak/VM is a Smalltalk VM utilizing the PyPy RPython toolchain. We compare primitive implementations in C, RPython, and Smalltalk, showing that due to the tracing just-in-time compiler, the performance gap has lessened by one magnitude to one magnitude.


Tracing Algorithmic Primitives in RSqueak/VM Related Books

Tracing Algorithmic Primitives in RSqueak/VM
Language: en
Pages: 52
Authors: Wassermann, Lars
Categories: Computers
Type: BOOK - Published: 2016-09-19 - Publisher: Universitätsverlag Potsdam

DOWNLOAD EBOOK

When realizing a programming language as VM, implementing behavior as part of the VM, as primitive, usually results in reduced execution times. But supporting a
Transmorphic
Language: en
Pages: 106
Authors: Schreiber, Robin
Categories: Computers
Type: BOOK - Published: 2017-03-03 - Publisher: Universitätsverlag Potsdam

DOWNLOAD EBOOK

Defining Graphical User Interfaces (GUIs) through functional abstractions can reduce the complexity that arises from mutable abstractions. Recent examples, such
On the operationalization of graph queries with generalized discrimination networks
Language: en
Pages: 46
Authors: Beyhl, Thomas
Categories: Computers
Type: BOOK - Published: 2017-01-12 - Publisher: Universitätsverlag Potsdam

DOWNLOAD EBOOK

Graph queries have lately gained increased interest due to application areas such as social networks, biological networks, or model queries. For the relational
Automatic verification of behavior preservation at the transformation level for relational model transformation
Language: en
Pages: 126
Authors: Dyck, Johannes
Categories: Computers
Type: BOOK - Published: 2017-04-26 - Publisher: Universitätsverlag Potsdam

DOWNLOAD EBOOK

The correctness of model transformations is a crucial element for model-driven engineering of high quality software. In particular, behavior preservation is the
Improving hosted continuous integration services
Language: en
Pages: 128
Authors: Weyand, Christopher
Categories: Computers
Type: BOOK - Published: 2017-02-17 - Publisher: Universitätsverlag Potsdam

DOWNLOAD EBOOK

Developing large software projects is a complicated task and can be demanding for developers. Continuous integration is common practice for reducing complexity.