PyCon CZ

PyCon CZ 23
15–17 September
Prague

Integrating MicroPython and Rust a talk by Jan Matějek

Saturday 16 September 15:00 (30 minutes)
__main__

What does a Pythonista do when their MicroPython code grows too slow and eats too much RAM? Why, they switch to Rust!

You’ll find out a little bit about how MicroPython is implemented, how it calls C, and how to understand its internal data structures from Rust.

And why we chose MicroPython and Rust for the Trezor T firmware, what pitfalls we had to face and what it brought us.

What do you need to know to enjoy this talk

Python level

You understand advanced concepts, such as generators and comprehensions, async/await, advanced usage of classes.

About the topic

No previous knowledge of the topic is required, basic concepts will be explained.

Jan Matějek

Developer, hacker, architect, head of the firmware team at Trezor Company. My day job entails writing performant and space-efficient Python code to run on a STM32 microcontroller.

I have been programming since childhood, professionally for almost two decades, and I still love it enough to keep doing it in my free time. I especially thrive on challenging problems and in constrained environments. I enjoy figuring out complex concepts and explaining them in a clear manner, and I am a vocal proponent of open-source.

At heart, I am a proud "matfyzák" (MFF UK alumnus). I am a dad to a three year old, and my latest interest is in storytelling and game design.

Saturday 16 September

14:00 __main__
14:45

Break

15:00 __main__
15:00 __init__
15:00 __doc__
15:30

Break

15:40 __floor__