Brussels / 2 & 3 February 2019

schedule

RustPython: a Python implementation in Rust

Building a Python 3 interpreter in Rust


Rust is a relatively new programming language aimed as a safe competitor of C. There are already attempts to write extension modules in rust and load them into CPython. A whole new approach would be to re-implement the Python language in rust. This is what RustPython is about.

RustPython is a relatively new project. The aim of the project is to create a Python interpreter written entirely in Rust. Until now we used many of the language features available in rust, such as vectors, hashmaps, iterators. To implement standard library modules, we would like to wrap existing rust crates. This is what we did with the json module for example.

During this talk, we will demo the current state of the art of the project. We will take a dive into the internals of RustPython, from parsing, compilation, bytecode to actual execution on the Python virtual machine. Next to this we will cover the growing community, and the road ahead!

Speakers

Windel Bouwman
Shing Lyu

Attachments

Links