Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use @wasmer/wasi for my npm package `trealla` (wasm port of a Prolog interpreter). For the most part I'm pretty happy with it, but the file size is quite large[1] (taking up around half my bundle size), and it looks like @wasmer/sdk is even larger (wasmer.sh downloads a 1.7MB gzipped wasm binary that I assume is the runtime). It's a tough sell to the frontend folks when my package is this big... currently I have my eye on jco[2] which I hope will be much lighter.

No shade intended towards the Wasmer folks, I appreciate the work they've done.

[1]: https://bundlephobia.com/package/@wasmer/wasi@1.2.2

[2]: https://github.com/bytecodealliance/jco



Thanks, I'm a big fan of your work in Trealla. Is true that there's still room to improve sizes, as right now the bundle size is not ideal.

Hopefully it will not take long for Wasmer to serve packages with a minimum bundle size, stay tuned for updates!


Thank you as well! I am looking forward to it, will keep an eye out & would be happy to test. I know it's difficult to keep the packages small, I struggle with it for sure (e.g. currently I use Wizer to optimize my startup times, but that also takes a significant chunk of the bundle).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: