Language Independent Storage Strategies for Tracing JIT based VMs
Storage strategies have been proposed as a run-time optimization for the PyPy Python implementation and with promising results for optimizing execution speed and memory requirements. However, it remained unclear whether the approach works equally well in other dynamic languages. Furthermore, while PyPy is based on RPython, a language to write VMs with reusable components such as a tracing just-in-time compiler and garbage collection, the strategies design itself was not generalized to be reusable across languages implemented using that same toolchain.
In this paper, we present a general design and implementation for storage strategies and show how they can be re-used across different RPython-based languages. We evaluate the performance of our implementation for RSqueak, an RPython-based VM for Squeak/Smalltalk and show that storage strategies can indeed offer performance benefits for other dynamic programming languages. We furthermore evaluate the generality of our implementation by applying it to Topaz, a Ruby VM, and Pycket, a Racket implementation.
Tue 27 OctDisplayed time zone: Eastern Time (US & Canada) change
13:30 - 15:00
|Compiling for Multi-Language Task Migration|
|High-Performance Cross-Language Interoperability in a Multi-Language Runtime|
|Language Independent Storage Strategies for Tracing JIT based VMs|