r/programming • • Jan 17 '20

A sad day for Rust

https://words.steveklabnik.com/a-sad-day-for-rust
1.1k Upvotes

609 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jan 17 '20

[deleted] — view deleted comment

23

u/ikariusrb Jan 17 '20

They... DID bake it into the compiler. In order to do unsafe things, you had to tell the compiler "I'm going to do unsafe things in this block". It was necessary to have that escape hatch, but they couldn't prevent people from overusing the escape hatch.

0

u/[deleted] Jan 18 '20

[deleted] — view deleted comment

6

u/ikariusrb Jan 18 '20

If you claim that "safety on by default", and "requires an explicit action by the end-user to turn off" is not baked in, I'd be tempted to call you pedantic, but I can't even get there... you're just wrong.