13
From C to Rust
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Yes agree, I need
unsafesuper rarely, and often it's just for small optimizations (likestd::mem::transmute::(kind)whereSyntaxKindis an enum with#[repr(u16)]).But I guess it depends on what you're doing exactly though (the higher-level, the less unsafe you need).