Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Safety-Critical Rust Consortium. Parent comment
- Dereference a raw pointer
- Call an extern or unsafe function or method
- Access or modify a mutable static variable
- Implement an unsafe trait
- Access fields of C unions
https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html
In C the most basic advanced thing you do is LinkedList. In Rust implementing it with pointers is unsafe and splitting it into two parts is unsafe
There are no comments on this comment yet.
- Dereference a raw pointer
- Call an extern or unsafe function or method
- Access or modify a mutable static variable
- Implement an unsafe trait
- Access fields of C unions
https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html
In C the most basic advanced thing you do is LinkedList. In Rust implementing it with pointers is unsafe and splitting it into two parts is unsafe