Rust Container Cheet Sheet

into_boxed_slice ptr T Legend 4/8 bytes Box<T> Vec<T> len cap ptr cap len ptr 4/8 bytes T T T Rc<T> ptr strong weak T Box<[T]> len ptr len T T T Box<Trait> T vtable size Arc<T> ptr strong weak T 4/8 bytes atomic allocat… Read more

Similar

24 days of Rust – nom, part 2

We learned the basic concepts of nom yesterday when we wrote a parser for HTTP headers. HTTP is by its nature a text protocol. nom however always works on bytes (byte array slices, denoted in Rust with &[u8]). This makes it perfectly suitable for pars...

Read more »

Putting the Rust in Trust

After working at Data61 with the verification team, and many conversations with Gerwin Klein, I have a good plan on how I think I want to achieve the goal of Trustworthy Rust.

Read more »