Skip to content

Commit

Permalink
Merge pull request #19 from seddonym/crabs-in-snakes
Browse files Browse the repository at this point in the history
Add Crabs in Snakes talk
  • Loading branch information
seddonym authored Jul 1, 2024
2 parents c63a70f + ff4a26f commit 0be057e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _talks/2023-09-25-ddd-and-python.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: talk
title: "Domain Driven Design and Python"
featured: true
featured: false
weight: 2
location: PyCon UK 2023, Cardiff
tags: [python, "domain driven design", modelling]
Expand Down
26 changes: 26 additions & 0 deletions _talks/2024-05-25-crabs-in-snakes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: talk
title: Crabs in Snakes! Writing compiled Python modules in Rust
featured: true
weight: 2
location: PyCon Italia 2024, Florence
tags: [python, "domain driven design", modelling]
image: crabsinsnakes.jpg
description:
Python is great for productivity and readability. Rust is great if you want things to run really fast.
Isn't it a shame we can't use both in the same program?
It turns out we can! Learn how, with the help of some clever libraries, we can write compiled Python modules in Rust.
youtube_embed_url: https://www.youtube.com/embed/L844NAJ24QI?si=ugPZEvSjtQVRl3XN
slides_link: https://docs.google.com/presentation/d/1HNTdnFNu0SsT7jS4x0SANKGlCPGIYMadC12G-mP35-4/edit?usp=sharing
---

In this talk, you’ll learn how to get started with using Rust directly from Python.

We’ll start by introducing Rust itself. It’s a very different language to Python with a whole new way of thinking.
Along the way, we’ll meet Cargo, Rust’s excellent package manager.

Then we’ll see how we can plumb Rust code into Python as a native extension module, and distribute it as a wheel.
We’ll do this using Py03 and Maturin.

You don’t need to know anything about Rust, extension modules or packaging - this will give you the fundamentals.
By the end, you will know how to get started putting the power of Rust inside your Python programs.
Binary file added assets/img/talks/crabsinsnakes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0be057e

Please sign in to comment.