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

top 4 comments
sorted by: hot top controversial new old
[โ€“] [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.

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

I've enjoyed what I've done with it so far, which is mostly little wasm projects. Once they finally get a proper editor I think it'll really pick up adopters.

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

thanks for sharing this. i've been interested in rust for a bit now, and this might get me off my ass :)