5 ms·
The hello world example in the repo is 1.73 MB edit: thanks for the replies below, I misinterpreted the use case for that wasm module.
by hunterb123 5y ago
The hello world example in the repo is 1.73 MB
edit: thanks for the replies below, I misinterpreted the use case for that wasm module.
- bastawhiz 5y agoThat's the compiled rust code for the example, not the size of the compiler/interpreter.
- jagger27 5y agoRight! I'll also just mention that this Wasm module isn't sent to the clients and run in the browser. It runs server-side. And for a bit of context, the hello world example below produces a 409K binary straight out of rustc on my machine. It does much less than our example, which also includes some shim libraries not shown in lib.rs. fn main() { println!("Hello World!"); }