Working with Strings in Rust

There’s a question that always comes up when people pick up the Rust programming language: why are there two string types? Why is there String, and &str?
My Declarative Memory Management article answers the question partially, but there is a lot more … Read more

Similar

Unsoundness in `Pin` (Rust)

Recently, @withoutboats challenged me to demonstrate a hypothetical version of Pin with different guarantees, and show how it would be sound. However, while working on that, I stumbled upon unsoundness in the actual Pin. I haven't seen this reported bef... (more…)

Read more »