Hacker News new | ask | show | jobs
by steveklabnik 4365 days ago
Boxing is heap allocation. Rust lets you explicitly choose if something is on the heap or on the stack. Idiom prefers stack allocation.

You don't need to box something to make it generic.