|
|
|
|
|
by throw10920
1014 days ago
|
|
> It is true that this needs to be done with some care otherwise you can end up infecting your whole codebase with the “workaround” It's a "workaround" precisely because the language does not support it. My statement is correct - you cannot turn the borrow-checker off, and you pay a significant productivity penalty for no benefit. "Rc" can't detect cycles. ".clone()" doesn't work for complex data structures. |
|
Except if you go to a GC language, but then you’re prototyping other types of stuff than you’d probably pick Rust for.