Feature request: Smaller wasm modules / binaries.

未关闭
#98 4 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
python, rust, wasm
领域
performance

调研方向

首先重现 Hello World 示例,并测量 issue 中描述的 35MB 模块和 30MB 主机侧绑定。检查项目的 build 和 packaging 入口点,以确定这些大小的来源;完成的标准是能够证明输出更小,并提供这两个工件的大小测量结果。

由索引模型根据 Issue 内容生成。

描述

Great library everyone - I'm really impressed. I reproduced the example just fine on Windows 11.

Anyway, maybe this is just the nature of Wasm Components, or it's necessary to support every possibility of a dynamic language like Python. And maybe there are settings I've not discovered yet.

But is it possible to produce a Hello World example that's much smaller than 35MB (and to reduce the size of the wasmtime host side bindings from 30MB)?

主要语言
Rust
星标
284
派生
56
平均合并
2 天 4 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bytecodealliance/componentize-py 的其他 Issue

查看 bytecodealliance/componentize-py 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。