[辞退 / Declined] Working with Rust and Python using PyO3
10/14, 13:00–13:30 (Asia/Tokyo), pyconjp_3
言語: English

このセッションは登壇者の都合でキャンセルされました。

This talk has been canceled due to speaker's reasons.


Rust has been taking the performance computing world by storm with its interesting approach to memory management. In this talk, we take a look at using Rust as a performance enhancing language and calling Rust inside Python using PyO3.


This talk is a gentle introduction to using Rust inside of Python. We are going to cover some of the basics.

  1. Why would you want to use Rust in Python?

This part will cover the reasons for using Rust. From being a simple C alternative to being something that you regularly use in order to optimise your code.

  1. The Tools of the trade: Looking at PyO3 and maturin.

We go over what the PyO3 toolchain looks like and how to get the tools set up so that you can start working with Rust in Python in the simplest way possible.

  1. Converting basic data Structures: Dicts to HashMaps in Rust and Structs to Objects in Python

One of the biggest parts of language interoperability is being able to convert data structures between languages. We show off converting data from one language to another to show how it can be done. The same techniques can be used for most other data structures.

  1. Catching exceptions

Rust has panics, while Python has exceptions. We talk about how to deal with panics inside of Python code.

  1. Where to go from here

Furthermore material that folks can check up on to further their interest.

Nafiul is a Software Developer, Author and Teacher. He is currently a Developer Advocate at JetBrains.