~/talk

Introducing Componentize-Py: A Tool for Packaging Python Apps as Components

name:Joel Dice
links:none on file
slides:none on file

Componentize-Py packages a Python app and its native extensions into a single WebAssembly Component that runs on WASI by bundling libpython311, libc, a pyo3-based runtime, and generated glue modules (main and init). It uses build-time code generation, pseudo-dynamic linking, and a component pre-initialization snapshot step so the interpreter is warmed at build time. Demo composes the component with wasmtime-py, runs numpy (custom Wasm build), enforces a 5s timeout and 20 MB memory limit, and shows both successful matrix runs and controlled timeout/memory errors.

AI-written summary · about

  1. 0:00Componentize-Py introduction
  2. 1:51Agenda and prior art
  3. 3:58Native extensions challenges
  4. 7:52Composition models in WASM
  5. 13:09Choosing composition model
  6. 14:56How Componentize-Py works
  7. 25:36Demo: Sandboxing Python
  8. 33:27Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.