bytecodealliance / bytecodealliance/componentize-py
Support (and provide tests and examples for) multithreading
- Vorherrschende Sprache
- Rust
- Sterne
- 277
- Forks
- 51
- Ø Merge
- 12 Std. 10 Min.
- Gemergte PRs (30 T.)
- 10
Beschreibung
Now that WASI-SDK 34 has been released with `wasm32-wasip3` support for pthreads via the Component Model's cooperative multithreading feature, we should be able to support multithreading in Python code. Alex Crichton has [run the CPython test suite with multithreading enabled](https://github.com/WebAssembly/wasi-libc/pull/850) with a few patches. In theory, things should "just work" once we apply those patches to the CPython fork we're using in this project.
Note that #242 is a prerequisite for this.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Durchsicht des vorausgegangenen Issues #242, des von diesem Projekt verwendeten CPython-Forks und der in wasi-libc PR #850 besprochenen Patches. Aktiviere die pthreads-Unterstützung von WASI-SDK 34 und überprüfe anschließend die CPython-Testsuite und füge die angeforderten Multithreading-Beispiele und -Tests hinzu.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, wasm
- Bereich
- devtools, testing
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100