Tom Morris on Nostr: I've just written a small Rust program. `cargo build --release` emits a 4.6 MB binary ...
I've just written a small Rust program. `cargo build --release` emits a 4.6 MB binary (on aarch64 macOS).
With strip=true and opt-level=z, goes down to 1.4 MB.
I Dockerized it. The image is 1.18 GB. (Can't use Alpine because tokio etc.)
Unlike a lot of tech terms, at least "containerisation" is an accurate metaphor.
You've got a Mars bar? A single cassette? A slice of Swiss cheese? A shipping container for each one!
What have we collectively done as a species to deserve this nonsense?
With strip=true and opt-level=z, goes down to 1.4 MB.
I Dockerized it. The image is 1.18 GB. (Can't use Alpine because tokio etc.)
Unlike a lot of tech terms, at least "containerisation" is an accurate metaphor.
You've got a Mars bar? A single cassette? A slice of Swiss cheese? A shipping container for each one!
What have we collectively done as a species to deserve this nonsense?