News for hackers. Stuff that matters.
Re:Four limitations of Rust's borrow checker by resonious on Tuesday December 24, 2024 @05:03PM (#42505253)
I would say it's pretty easy to do similar stuff in Rust to skirt the borrow checker. e.g. you can cast a mut ref to a mut ptr, then back to a mut ref, and then you're allowed to have multiple of them.

The problem is Rust (and its community) does a very good job at discouraging things like that, and there are no guides on how to do so (you might get lambasted for writing one. maybe I should try)

There are no comments on this comment yet.