Ben Chuanlong Du's Blog

It is never too late to learn.

Write Unsafe Code in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The Unsafe Keyword

Unsafe Rust

Unsafe Rust: How and when (not) to use it

Unsafe Rust is not C

Rust's Unsafe Code Guidelines Reference

Unsafe Code Guidelines https://github.com/rust-lang/unsafe-code-guidelines The goal of the UCG WG is to produce the Unsafe Code Guidelines Reference: a "guide" for writing unsafe code that "recommends" what kinds of things unsafe code can and cannot do, and that documents which guarantees unsafe code may rely on. It is largely a work-in-progress right now.

References

Comments