this post was submitted on 21 Jan 2024
41 points (95.6% liked)

Rust Programming

8126 readers
1 users here now

founded 5 years ago
MODERATORS
 

I am new to Rust, and have always been interested in how games were made. But man I've got to say that just ready the bevy book has been pretty fun. I am looking at all the examples in the repo. I wanna here others perspective on bevy, or Rust game development in general!

crossposted from: https://programming.dev/post/8881051

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 9 months ago (1 children)

I jumped into both Rust and gamedev a few years ago, before Bevy existed. So, I don't have much outside perspective, but I did enjoy Bevy, too, once that became a thing.

One thing to be aware of, is that Bevy kind of bypasses Rust's memory management by using an ECS (as game engines generally do). That's not a bad thing, Rust encourages implementing own memory management, if its own doesn't work for a use-case.

But yeah, if you ever stumble because you're building big games, while a small business application has you scratching your head, then you skipped properly learning about the borrow checker, ownership, lifetimes etc.. None of it is terribly hard, but it does need some learning anyways. (This happened to me. ๐Ÿ™ƒ)

[โ€“] [email protected] 6 points 9 months ago

I see. Very good to know. Thank you.