bytecodealliance / bytecodealliance/componentize-py
Support (and provide tests and examples for) multithreading
- Langage dominant
- Rust
- Étoiles
- 277
- Forks
- 51
- Merge moyen
- 12 h 10 min
- PR mergées (30 j)
- 10
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner l’issue préalable #242, le fork de CPython utilisé par ce projet et les patches discutés dans wasi-libc PR #850. Activez la prise en charge de pthreads dans WASI-SDK 34, puis vérifiez la suite de tests de CPython et ajoutez les exemples et tests de multithreading demandés.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, wasm
- Domaine
- devtools, testing
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100