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 Oct
|13:30 - 13:52|
|13:52 - 14:15|
|14:15 - 14:37|
|14:37 - 15:00|