Skip to content

WASM: demo notebook and ecosystem coordination with QuantStack #934

Description

@mmcky

Note

Updated 2026-08-21. The second item said quantecon was already on emscripten-forge; it is not (no recipe exists — that is #932) and it reaches the browser from conda-forge noarch. Added prerequisites and the code paths a demo notebook must avoid for now, based on the Phase 0/1 findings recorded in #927 and #944. The original text is preserved in the edit history.

Part of #925 (Phase 4 — ecosystem, ongoing).

The announcement closes with an explicit invitation to "validate more packages from the wider Numba ecosystem", and it already demos EconForge's stack (interpolation.py, Dolo.py). Answering that invitation is cheap and high-signal.

Prerequisites

Paths the demo must avoid for now

Items

  • A QuantEcon demo notebook on notebook.link (Markov chains, LQ control, a game-theory solve via lemke_howson) alongside the existing @anutosh491/numba-ecosystem demos; coordinate with QuantStack
  • Longer term: QuantEcon lectures that execute without Binder or a kernel server — the rest of the lecture stack (numpy, scipy, matplotlib, pandas, numba) is on emscripten-forge; quantecon (and requests) currently resolve from conda-forge noarch alongside it (see WASM: JupyterLite proof-of-concept deployment and browser smoke suite #928) until the emscripten-forge recipe in WASM: contribute a quantecon recipe to emscripten-forge #932 lands
  • Performance exploration: the emscripten-forge recipe tests show @njit(fastmath=True) autovectorises to WASM SIMD (f32x4 + simd128) — a possible pass over hot kernels, with the usual fastmath reproducibility caveats

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions