We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

RustPython: a Python implementation in Rust

Formal Metadata

Title
RustPython: a Python implementation in Rust
Subtitle
Building a Python 3 interpreter in Rust
Title of Series
Number of Parts
561
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
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!