bytecodealliance / bytecodealliance/componentize-py

Support (and provide tests and examples for) multithreading

オープン
#248 コメント 0 件 リアクション 0 件 担当者 0 名 @dicej が担当を希望しています GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。