Primary Photo for Remy Clarke

Fun with Labels, Macros, and Unsafe Rust

Presentation byRemy Clarke

Remy Clarke (Rust Programmer at Scylla Digital) talks about his experiments - mad scientist style - saving you the time and brain cells trying to figure out these things on your own. Tame unsafe code to have no undefined behavior. Check. Define macros inside a function. Check. Leverage labels to take control of control flow. Check.

Watch to learn techniques that will bring your Rust to the next level. Master control flow with labels, and make your code amenable to refactoring. Build your own local declarative macros to work around the scoping issues of functions, closures, .await, and ?. And last but not least, use Miri to ensure that your unsafe code has no undefined behavior.

Follow along looking at the code here:
https://github.com/ClarkeRemy/tokyo-rust-meetup-2023-12-12

Presented with these Guilds

Guild

Get in touch!

hi@guild.host