bytecodealliance / bytecodealliance/componentize-py

Feature request: Smaller wasm modules / binaries.

Open
#98 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
277
Forks
51
Avg merge
12h 10m
Merged PRs (30d)
10

Description

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)?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Hello World example and measuring the 35MB module and 30MB host-side bindings described in the issue. Inspect the project’s build and packaging entry points to identify where those sizes originate; done means demonstrably smaller outputs with size measurements for both artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust, wasm
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.