3 ms·
This is my approach to "higher level rust" - When the borrow-checker and lifetimes start getting too complicated, there's usually an easier but less-optimal fal
by perrygeo 4y ago
This is my approach to "higher level rust" - When the borrow-checker and lifetimes start getting too complicated, there's usually an easier but less-optimal fallback. (RC/ARC + mutexes, clones, Strings, Box dyn)
Rust can be a simple(r) language if you're willing to set aside the idea that you need to write performance-critical systems code from day one - just use the basics and optimize if/when needed.