bytecodealliance / bytecodealliance/componentize-py
Support (and provide tests and examples for) multithreading
- 主要言語
- Rust
- スター
- 277
- フォーク
- 51
- 平均マージ
- 12時間 10分
- マージ済み PR(30日)
- 10
説明
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.
コントリビューションガイド
調査の方向性
まず、前提となる issue #242、このプロジェクトで使用している CPython の fork、および wasi-libc PR #850 で議論されているパッチを確認します。WASI-SDK 34 の pthreads サポートを有効にしてから、CPython のテストスイートを検証し、要求されているマルチスレッドの例とテストを追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, wasm
- 領域
- devtools, testing
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100