New Rustacean

e019: Let's `Clone` a `Cow`

New Rustacean

The final pieces of the story for (single-threaded) memory management in Rust.

Notes

Sometimes, we actually do need to copy types. Wouldn't it be nice if Rust gave us a convenient way to do that when it's convenient, or when the cost is low enough that the ergonomic tradeoffs are worth it? Well, perhaps unsurprisingly, it does! The Copy and Clone traits, plus the Cow type, give us everything we need!

Sponsors

(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)

Become a sponsor

Contact

Next Episodes

New Rustacean

CYSK: clap @ New Rustacean

πŸ“† 2017-02-15 03:33 / βŒ› 00:10:42


New Rustacean

e018: `Borrow`, `AsRef`, `Deref`: my head hurts now @ New Rustacean

πŸ“† 2017-02-01 00:32 / βŒ› 00:17:25


New Rustacean

CYSK: quick-xml @ New Rustacean

πŸ“† 2017-01-09 15:03 / βŒ› 00:08:38


New Rustacean

News 2: Let's talk roadmap! @ New Rustacean

πŸ“† 2016-12-29 20:00 / βŒ› 00:21:08


New Rustacean

Meta 1 – Slowing Down @ New Rustacean

πŸ“† 2016-11-12 19:26 / βŒ› 00:07:42