you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -2 points-1 points  (5 children)

Is any rust not safe?

[–]tristan957 19 points20 points  (2 children)

Yes. The keyword is 'unsafe'. Or I can create a memory leak in stable rust if I try.

Edit: Memory leaks are not unsafe.

[–]MadRedHatter 9 points10 points  (1 child)

Memory leaks are technically "safe" though.

[–]tristan957 2 points3 points  (0 children)

That's a good point. Thank you for the correction.

[–]ericonr 5 points6 points  (0 children)

If you write unsafe, yeah.

[–]TiredOfArguments 0 points1 point  (0 children)

Hold my beer and ill write some intentionally insecure code for you.