~/talk

SPy (Static Python) lang: fast as C, Pythonic as Python

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [python, webassembly]
slides:none on file

SPy is a new statically typed Python variant that enforces function signatures at module boundaries and uses red‑shift partial evaluation to precompute everything that can be done at import time, leaving a small fast core. The toolchain runs an interpreter for development and generates C and WASM for production (ELF binaries, Node/browser via WASM, CFFI-backed CPython extensions). Demo replaces a slow NumPy pipeline (0.2 FPS) with a Spy version at ~60 FPS; lists and dicts are not finished yet.

AI-written summary · about

  1. 0:00The problem with performance
  2. 2:35Introducing the SPy project
  3. 6:16Goals and status of SPy
  4. 10:55Real-time image processing demo
  5. 12:52Architecture and compilation
  6. 18:30Redshifting and partial evaluation
  7. 23:58Language rules and semantics
  8. 30:43Generics and closures
  9. 33:50Type checking and dispatch
  10. 37:24Low-level core and abstractions
  11. 40:32Future work and Q&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.