4 ms·
Cool but 12MB WASM blob. I wish there was a way of making these WASM builds significantly smaller.
by tlarkworthy 1y ago
Cool but 12MB WASM blob. I wish there was a way of making these WASM builds significantly smaller.
- ModernMech 1y agoUsually they are shipped in a compressed form. If 12MB is compressed it could be that it represents the entire R runtime to support the general R REPL. It could be possible to reduce the payload by compiling only what's necessary to run a particular R program into the wasm binary. That should cut down size considerably.
- calmbell 1y agoThe funny thing is that the performance of a 12MB WASM blob is probably superior to most Shiny apps with more than light traffic.