tgoop.com/dereference_pointer_there/9893
Create:
Last Update:
Last Update:
#prog #rust #article
The borrowchecker is what I like the least about Rust
Не со всем согласен, но большинство аргументов здравые.
In this post, I want to make two arguments:
1. That the borrowchecker causes serious ergonomic problems for Rust.
2. That the role of the borrowchecker in Rust's safety is overstated.
Perversely, because Rust's lifetime riddles are challenging, they are sort of fun. I believe that partly explains why so many people don't seem to mind them. Instead of thinking about how to write my code to solve the scientific problems I'm being paid to solve, I have to think about how to write it to please the borrowchecker. The latter is usually more tractable, limited in scope, have clearer requirements and is more 'puzzle-like'. In that sense, Rust enables escapism: When writing Rust, you get to solve lots of 'problems' - not real problems, mind you, but fun problems.
BY Блог*
Share with your friend now:
tgoop.com/dereference_pointer_there/9893