bytecodealliance / bytecodealliance/componentize-py
Use `wasi-virt`-based VFS to store Python code
未关闭
- 主要语言
- Rust
- 星标
- 277
- 派生
- 51
- 平均合并
- 12 小时 10 分钟
- 30 天内合并 PR
- 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
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100