13
From C to Rust (programming.dev)
submitted 2 years ago by ron@programming.dev to c/rust@programming.dev

Any book out there that can ease me into Rust from C?

you are viewing a single comment's thread
view the rest of the comments
[-] philm@programming.dev 2 points 2 years ago

Yes agree, I need unsafe super rarely, and often it's just for small optimizations (like std::mem::transmute::(kind) where SyntaxKind is 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).

this post was submitted on 09 Aug 2023
13 points (93.3% liked)

Rust

6384 readers
202 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS