September 18, 2021

Rust Types & Bevy queries: How it works ::Draft

Bevy is an emerging open source game engine for Rust build around an implementation of ECS (Entity Component System), an architectural software pattern gaining popularity in game development. This post explores how one aspect of Bevy’s ECS, entity-component queries, are implemented. They are an important building block of the game engine and make somewhat surprising (to me at least) use of Rust’s type system; their design is central to the good ergonomics of Bevy. Read more

© Robert Krahn 2009-2023