3 ms·
> There is no simpler language inside Rust that has the same safety guarantees I’d argue there is: there’s reference counting. Rather than using references and
by afavour 6y ago
> There is no simpler language inside Rust that has the same safety guarantees
I’d argue there is: there’s reference counting. Rather than using references and fussing with lifetimes you could sprinkle Rc<> wherever it’s necessary. You’d take a performance hit but the code would be simpler to write.
- cdcarter 6y agoIndeed, in fact, Swift often feels like Rust with automatic Rc<> for classes and Cow<> everywhere else.