Avoiding allocations in Rust to shrink Wasm modules

Avoiding allocations in Rust to shrink Wasm modules.
“Rust lacks a runtime, enabling small .wasm sizes because there is no extra bloat included like a garbage collector. You only pay (in code size) for the functions you actually use.” Easier said than done, as one has to watch out for allocations as they may significantly impact the Wasm module side.

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Corresponding tweet for this thread:

Share link for this tweet.