logoalt Hacker News

Graziano_Mlast Friday at 12:52 AM2 repliesview on HN

The second you have any `unsafe`, Rust is _by definition_ not memory-safe.


Replies

Ar-Curunirlast Friday at 8:34 AM

By that definition, Python is not memory-safe, Java is not memory-safe, Go is not memory-safe, and so on. All of these languages contain escape hatches to do memory-unsafe stuff, yet no one is calling them memory unsafe.

show 1 reply
Menethlast Friday at 11:19 AM

And the majority of the Rust standard library uses `unsafe`.

show 1 reply