PyPy

Author: Maciej Fijalkowski, merlinux GmbH
Title:PyPy - Automatic Generation of VMs for Dynamic Languages
Date: 6th March 2008

VMs for dynamic languages

Ideally, we would...

Generating VMs

PyPy Motivation

Development technology

General idea

Even more

An example of benefit

Example of static analysis

RPython

Abstract interpretation

Flow graphs

Annotation

RTyper

Translation aspects

GC framework

Backends

Special translation aspect

JIT - motivation

Traditional JIT approach

PyPy approach to JIT

JIT - basics

JIT - general idea

Solution: promotion

Concrete ingredients

Irrelevant to interpreter

The hint annotator

The rainbow interpreter

JIT details - backends

JIT conclusion

JIT plans

JIT short term plans

It's not only technical

Project future