zlacker

[parent] [thread] 1 comments
1. static+(OP)[view] [source] 2022-10-02 14:57:15
Rust's "safety" is memory safety. It's relatively well defined for a technical term: https://en.wikipedia.org/wiki/Memory_safety

edit:

> Yeah I was just trying to provide a clear definition, I didn't think you were implying it was BS.

(would have replied but I'm rate limited on HN - thanks dang!)

replies(1): >>Pulcin+81
2. Pulcin+81[view] [source] 2022-10-02 15:03:51
>>static+(OP)
Sorry didn’t mean to imply that it was BS or anything with the scare quotes. More that there is a more specific meaning behind it than some laymen’s interpretation of the word safe.

I know I was a little surprised when I was learning Swift after hearing it was called safe only to experience crashes with array OOB. Took some explanation and thinking to understand what was meant by safe.

[go to top]