Live data from Hacker News

#[you_can::turn_off_the_borrow_checker]

docs.rs

1–10 of 35 posts

Re: #[you_can::turn_off_the_borrow_checker]

#6
Why would you want to turn it off? I've been writing Rust code for a while and only struggled with this for the first few weeks. The borrow checker is useful and, while I don't mind some unsafe Rust here and there, I wouldn't want to have a Rust dependency that completely disabled it.

Re: #[you_can::turn_off_the_borrow_checker]

#7

Why would you want to turn it off? I've been writing Rust code for a while and only struggled with this for the first few weeks. The borrow checker is useful and, while I don't mind some unsafe Rust here and there, I wouldn't want to have a Rust dependency that completely disabled it.

This is a curiosity which explicitly asks you not to use it for production. Just an exercise in hacking on the language and making it behave in ways it's not supposed to.

I agree with you; the borrow checker is much of Rust's value proposition, and if one wanted to do without it, then Rust isn't the right tool for their particular needs.

Re: #[you_can::turn_off_the_borrow_checker]

#8

Why would you want to turn it off? I've been writing Rust code for a while and only struggled with this for the first few weeks. The borrow checker is useful and, while I don't mind some unsafe Rust here and there, I wouldn't want to have a Rust dependency that completely disabled it.

[deleted]

Re: #[you_can::turn_off_the_borrow_checker]

#9

Why would you want to turn it off? I've been writing Rust code for a while and only struggled with this for the first few weeks. The borrow checker is useful and, while I don't mind some unsafe Rust here and there, I wouldn't want to have a Rust dependency that completely disabled it.

[deleted]

Re: #[you_can::turn_off_the_borrow_checker]

#10

Why would you want to turn it off? I've been writing Rust code for a while and only struggled with this for the first few weeks. The borrow checker is useful and, while I don't mind some unsafe Rust here and there, I wouldn't want to have a Rust dependency that completely disabled it.

[deleted]
Post reply on HN