A Rust-based garbage collector for Python
February 09, 2024
31 min
Free
rust
mmtk
pipie
runtime-bindings
core-bindings
python
garbage-collection
memory-management
jit
interpreter
ffi
Description
In this presentation, Jo N discusses the development of a Rust-based garbage collector for Python. The talk explores the background of garbage collection, the implementation details within PyPy, and the Memory Management Toolkit (MMTk). Jo N details how MMTk, originally a Java project, was reimplemented in Rust and its modular design for language independence. The integration of MMTk into PyPy is explained, including the challenges and compromises made, and the performance implications are discussed, highlighting both overheads and benefits in GC time.