News for hackers. Stuff that matters.
Re:Llama2.rs: One-file Rust implementation of Llama2 by WhyNotHugo on Sunday August 06, 2023 @04:19AM (#37019973)
It’s not safe under Rust’s definition of safe.

If you map the file into readonly memory and than get references to it, the underlying memory can mutate (eg: by modifying the file itself).

There are no comments on this comment yet.