4 ms·
I really want to like bevy but compile times are slow and the output binaries are huge. I built a few games in WASM and was shocked to see many of the bevy var
by tyleo 6mo ago
I really want to like bevy but compile times are slow and the output binaries are huge.
I built a few games in WASM and was shocked to see many of the bevy variants larger than the Unity versions.
There’s definitely a market for rust game engines but it seems that no one’s hit the sweet spot yet.
- reitzensteinm 6mo agoCompile times are my biggest struggle, too. I'm vibecoding Bevy with parallel agents, and the bottleneck is often compiling the changes on my 7950X, not getting Codex to write them. As far as file sizes go, I'd be really interested in how a Rust compiler that didn't monomorphize so much would perform. Right now you have to modify the source code to write polymorphic generic functions, but it doesn't strictly have to be that way (at least as far as I can see). I wouldn't use Bevy for a web only game either, especially while it's still single threaded on WASM.
- 0x1ceb00da 6mo agoBevy website has some tips for improving compile times, have you tried them out?
- reitzensteinm 6mo agoYes, absolutely. I did that before vibecoding too, as rapidly editing and testing is so crucial. The way Bevy's internal state is so easily saved and loaded is convenient for this.
- alfiedotwtf 6mo agoI hear Rust being slow to compile is their biggest gripe, but really - look at what you’re gaining for the slowdown! Bevy gives you a very nice ECS to model your app but compilation can be slower than hand crafted code, while not using it gives you tonnes more code and the complexities that come with it, just to compile faster?
- tyleo 6mo agoI don’t know what you mean by, “just to compile faster.” Compiling fast is critical to game development. There’s no formula for fun so you have to iterate extensively. I also don’t think that other solutions are “tonnes more code.” Any code will explode in size if poorly written. The same is true for bevy.
- NewsaHackO 6mo agoI swear I have only heard about ECS and people trying to show off how good the ECS is when it comes to Bevy, never about an actual game.
- polski-g 6mo ago"There are more rust game engines than rust games" - Confucius
- Ygg2 6mo ago"The claim which is made without proof can be dismissed without proof" - Big Brain
- NewsaHackO 6mo agoWhat are some notable rust games?
- roflcopter69 6mo agohttps://en.wikipedia.org/wiki/Tiny_Glade https://en.wikipedia.org/wiki/Tiny_Glade
- NewsaHackO 6mo agoOK, even though it does not seem like that game was very notable, will give you that one game. Rust has at least ~5-6 game engines though, so you will have to come up with 4-5 more.