Explore the potential of WebAssembly (WASM) in Python development through this 30-minute conference talk from EuroPython 2018. Discover how WASM, a low-level binary format designed for speed and memory safety, can be integrated with Python to enhance performance and cross-platform compatibility. Learn about two approaches for embracing WASM in the Python ecosystem: compiling Python functions to WASM for execution in various runtimes, and using Python as a platform to run and bind WASM modules. Examine practical demonstrations, including a fast-running compiled Python function and a Rust-based game running inside a Python process. Gain insights into the advantages WASM can bring to Python and the role Python can play in the growing WASM ecosystem.
Overview
Syllabus
Intro
WebAssembly
Compact
Community
Statically compiled
PPCI
Compile Python
Compile WebAssembly
Summary
Python as a platform
WebAssembly repository
WebAssembly code
From Toolkit
From WebAssembly
Taught by
EuroPython Conference