Python blocks in the iOS and Mac App Store builds through Pyodide #90

open cmc opened this on 2026-11-22 01:00 UTC · feature · milestone 6 Formats, import and export

Discussion

cmc 2026-11-22 01:00 UTC

Run python source blocks in the sandboxed builds with Pyodide (CPython compiled to WebAssembly) in a web view, as JavaScript blocks run in JavaScriptCore.

  • Adds roughly 10 MB or more to each app.
  • Needs a spike first: start-up time, memory on iPhone, and how :session, :var, :results and :file map onto it.
  • The download version keeps running the installed python.