3 ms·
> Oh, did you believe all checks needed to make Rust memory safe is done at compile time? Well that's too bad. Actually yes. You can write all the programs you
by fredmorcos 9y ago
> Oh, did you believe all checks needed to make Rust memory safe is done at compile time? Well that's too bad.
Actually yes. You can write all the programs you want without runtime borrow checking, but it's inconvenient. Runtime borrow checking happens _only_ when you use cells.
- steveklabnik 9y agoAnd not even all cells, just RefCell.
- nialv7 9y agoWhy does cells even exist then?