889

Incase it doesn't show up:

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

Unsafe doesn't let you just ignore the borrow checker, which is what generally tripped me up when learning to write rust.

[-] rhombus@sh.itjust.works 3 points 2 weeks ago

That’s fair, I honestly haven’t used it in a while and forgot the real usage of unsafe code. As I said to another comment, it is a really rough language for game dev as it necessitates very different patterns from other languages. Definitely better to learn game dev itself pretty well first in something like C++, then to learn Rust separately before trying game dev in Rust.

this post was submitted on 02 Sep 2024
889 points (99.0% liked)

Programmer Humor

32050 readers
1390 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS