bytecodealliance / bytecodealliance/jco
Optimizing JS binding output size
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 134
- Avg merge
- 11h 13m
- Merged PRs (30d)
- 232
Description
When generating many functions with similar bindgen, there tends to be a lot of repeated code. This is by design of the bindgen process, and output size is not currently being optimized.
If we had either a post-analysis which could determine the shared functions, or a bindgen approach based on outputting functions or shared objects (eg enum switches for wasi error codes), that could reduce the bindgen output size considerably.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.