bytecodealliance / bytecodealliance/componentize-py

Use `wasi-virt`-based VFS to store Python code

オープン
#23 コメント 0 件 リアクション 6 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
277
フォーク
51
平均マージ
12時間 10分
マージ済み PR(30日)
10

説明

Currently, `componentize-py` "cheats" by assuming all required Python code will be loaded during the component pre-init step, and thus CPython won't need access to any of those files at runtime. This works surprisingly well, but will certainly break for more dynamic apps.

We should probably build a VFS by default, but also offer an option to use the "cheat" if desired.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、componentize-py が現在コンポーネントの pre-init 中にどのように Python コードを読み込んでいるかを追跡し、提案されている wasi-virt ベースの VFS アプローチを確認します。実行時のファイルアクセスにデフォルトで VFS が使用され、同時にオプションによって既存の pre-init 専用の動作も引き続き有効にでき、より動的なアプリケーションもサポートできるようになれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, rust, wasm
領域
tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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