Packages can be loaded faster in webr if they provided as vfs images instead of tarballs. The rwasm packages does this using emscripten file_packager (which is a python implementation sadly).
If there is a javascript file_packager, we could have an API that extracts and packs the emscripten packages server side. I think we could even create an API that packs multiple packages into a single vfs.
Packages can be loaded faster in webr if they provided as vfs images instead of tarballs. The rwasm packages does this using emscripten file_packager (which is a python implementation sadly).
If there is a javascript file_packager, we could have an API that extracts and packs the emscripten packages server side. I think we could even create an API that packs multiple packages into a single vfs.
@georgestagg