News for hackers. Stuff that matters.
Re:Rust: Enable WebAssembly backend by default by azakai on Sunday November 26, 2017 @03:20PM (#15782766)
It should be possible to reduce that a bunch more, 65kB sounds high.

Running the binaryen optimizer on that wasm shrinks it by 6%. Probably more can be done on the Rust side.

Re:Rust: Enable WebAssembly backend by default by killercup on Sunday November 26, 2017 @03:42PM (#15782857)
Absolutely, yeah. Having a real linker will help with that as well. Until then, you can also compile with

    [profile.release]
    opt-level = "s"
(i.e., optimizing for size), to get it down to 23kB gzipped.