logoalt Hacker News

cavoirom • today at 1:57 PM • 1 reply • view on HN

> Rust code benefits from memory safety, from the compile-time guarantees that make it easier for AI agents to write and maintain it…

Rust is not "safe" as you think unless there is no "unsafe", no FFI, no link to C library and libc.

For example, Java is memory safe but the recent Java4Shell happen because it uses unsafe code to handle base64.


Replies

IshKebab • today at 2:06 PM

When people use the term "memory safety" they almost always mean "unless you use the memory unsafe escape hatches that basically all languages provide".

But you knew that. Don't nit pick.

➕ show 1 reply