August 5th, 2024

Rust-Python interoperability [hands-on course]

The course teaches Rust-Python interoperability, focusing on creating Python extensions with Rust through hands-on exercises. It requires Rust and rye installation, with resources available on GitHub, authored by Luca Palmieri.

Read original articleLink Icon
Rust-Python interoperability [hands-on course]

This course on Rust-Python interoperability aims to teach participants how to create Python extensions using Rust and how to invoke Rust code from Python. It is designed for individuals who have a basic understanding of both programming languages but lack prior experience with interoperability. The course follows a "learn by doing" methodology, encouraging hands-on practice through exercises that are available in a companion GitHub repository. Participants are advised to install Rust and the Python package manager, rye, before starting. The course structure includes various sections, each accompanied by exercises to reinforce learning. A tool called the workshop runner (wr) is provided to help verify solutions to exercises. The course is authored by Luca Palmieri, a Principal Engineering Consultant at Mainmatter, who has extensive experience with Rust and has authored several resources on the language. Participants are encouraged to work collaboratively and track their progress using Git.

- The course focuses on writing Python extensions in Rust and calling Rust code from Python.

- It is structured around hands-on exercises and interactive learning.

- Prerequisites include installing Rust and the rye package manager.

- A GitHub repository contains exercises and solutions for participants.

- The course is authored by Luca Palmieri, an experienced Rust consultant and author.

Link Icon 1 comments