Wasm
WASM
assets size for ayew
application in Rust 🦀Few weeks ago I wrote rainbow, a color picker in plain old
HTML
/CSS
/JS
. I needed a color palette as quick as possible so I made this tool the quick-and-dirty way.I then gave this tool some thoughts, rewrote it in
Rust
🦀 and called it bifröst. It’s a single page application inWASM
and it’s loaded with many more features than rainbow.Let me tell you something : it’s HEAVY! The first iteration weighed
1.4Mo
. Way too much for such a small application.This blog post is about the settings and tools to divide its weigh by three.
1 / 1