~/talk

Porting Python to WebAssembly

Talkat Cloud Native Wasm Day North America 2022 · on Monday, 2022-10-24· [python, webassembly]
links:none on file
slides:none on file

CPython gains upstream WebAssembly support in 3.11 with Python 3.11 adds Emscripten and WASI support, a bootstrap interpreter and a Deep‑Frozen standard library compiled into C, an automation script to build and open a browser REPL, and a Node-based test harness that spawns processes. Most tests run; by April 2022 the build passes with 92 network tests skipped (sandboxing limits). Workarounds include autoconf checks for missing pthreads and socket APIs and fixes for strict WASM call‑signature crashes.

AI-written summary · about

  1. 0:00Intro
  2. 2:11CPython implementation
  3. 4:18Build system
  4. 5:56Cross compiling improvements
  5. 10:05Invalid assumptions
  6. 10:47Bugs in Python
  7. 12:03Bugs in Emscripten
  8. 12:43Improving Emscripten
  9. 13:41Tier 3 support (PEP 11)
  10. 14:59Build automation
  11. 15:41Unofficial builds & nightly smoke tests
  12. 16:11WASI challenges
  13. 18:40Executable docs and examples
  14. 20:52Python binary extension hell
  15. 23:15Use Python as smoke tests
~/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.