4 ms·
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-r
by jjnoakes 5y ago
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.
- k__ 5y agoAre 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.