Allocating array on heap using Box::new([;]) results in stack overflow

You run into global allocator replacements in WASM pretty often (which is sort of an embedded environment, I guess), and there's a few cases where the performance apparently mattered enough that I've seen apps use mimalloc or the like, you could stretch "typical Rust programmer" to those I suppose.

1 Like