▲ | tlarkworthy 3 days ago | |
Cool but 12MB WASM blob. I wish there was a way of making these WASM builds significantly smaller. | ||
▲ | calmbell 3 days ago | parent | next [-] | |
The funny thing is that the performance of a 12MB WASM blob is probably superior to most Shiny apps with more than light traffic. | ||
▲ | ModernMech 3 days ago | parent | prev [-] | |
Usually 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. |