Rust zero-copy types/keys cheatsheet

PressRex profile image
by PressRex
Rust zero-copy types/keys cheatsheet

Hi,

I need to figure out some non-trivial handling of zero copy in a database API and I really had a hard time to wrap my head around it, so started from the basics and wrote myself a cheatsheet:

play.rust-lang.org

Rust Playground

A browser interface to the Rust compiler to experiment with the language

I'm planning to update the above links as I'm fixing the things that were pointed out.

I would appreciate any feedback. Am I doing it right? Any way to improve it? Naming OK? Anything else worth mentioning? I plan to polish it and publish somewhere for others to benefit.

1 post - 1 participant

Read full topic

Source: View source

PressRex profile image
by PressRex

Subscribe to New Posts

Lorem ultrices malesuada sapien amet pulvinar quis. Feugiat etiam ullamcorper pharetra vitae nibh enim vel.

Success! Now Check Your Email

To complete Subscribe, click the confirmation link in your inbox. If it doesn’t arrive within 3 minutes, check your spam folder.

Ok, Thanks

Read More