Re:Bevy game engine 0.6
by jjnoakes on Sunday January 09, 2022 @02:23AM
(#29861068)
I want to point out to unfamiliar readers that use-after-free in a rust generational array is a logic bug, where as use-after-free in just about any other non-rust context is undefined behavior. Rust's safety is helping here, not by preventing the bug altogether, but by severely limiting the damage it can cause.
[ Parent
| on HN ]
Are there any good learning resources on how to program to get around these "logic bugs"?
I had a runtime error with my first Bevy game too, because I forgot to add a resources to my app before I used it.