Background
Design: docs/native-execution-and-parallelism.md §5, §6.
Depends on #1.
GIL-free parallelism by running many isolated CPython-WASM instances as girder
actors (each its own interpreter/GIL/memory), coordinated by message passing.
Tasks
Acceptance
A CPU-bound Python map runs across N girder actors with measured speedup vs a
single instance, and a large read-only input shared via SIR.
Notes / deps
- Sibling repo
~/git/girder (native host runtime; not browser — see design §7).
- Requires the CPython→
turn-actor adapter above as a prerequisite.
Background
Design:
docs/native-execution-and-parallelism.md§5, §6.Depends on #1.
GIL-free parallelism by running many isolated CPython-WASM instances as girder
actors (each its own interpreter/GIL/memory), coordinated by message passing.
Tasks
turn-actorworld(
init/handle) and dispatchhandle(msg)to a Python entrypoint(the
offloadshape adapted to the actor ABI).parallel_mapreducepattern (see~/git/girder/crates/girder-runtime/examples/parallel_mapreduce.rs) with aCPython payload; spawn K actors, fan tasks, collect results.
arrowcodec for array/frame payloads.inputs zero-copy.
Acceptance
A CPU-bound Python map runs across N girder actors with measured speedup vs a
single instance, and a large read-only input shared via SIR.
Notes / deps
~/git/girder(native host runtime; not browser — see design §7).turn-actoradapter above as a prerequisite.