Calling Rust from Python
Content regarding how to write performant python modules in Rust.
Prework
We'll be using PyO3 and the maturin python module.
Either follow the maturin tutorial or one of the examples from PyO3 Using Rust from Python.
This TDS blog could be helpful.
Prework Assessment
A short assessment of the prework material to check and reinforce students' understanding and readiness for the lecture.
Lecture
Recap of the prework material, perhaps in a bit more depth and additional examples.
Technical Coding Challenge
Introduce and discuss the technical coding challenge where the solution can be implemented with material and language syntax learned so far.
Coding Challenge
Students work on the coding challenge in groups of 3 and submit their solutions online.
Coding Challenge Review
Review the coding challenge in class:
- peer review of solutions with comments... maybe randomly select 3 other students to do the review
- instructor randomly select a group to present their solution