Back To Schedule
Tuesday, June 8 • 13:00 - 13:50
Discoverability and Composability: Writing an ECS for Fun and Profit

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
ECS is the architectural pattern that took game development by storm, but it still sees little use in other areas. What is it? How does it work? How can I use it? And why should I? In this talk, I'll try to answer these questions and dissect one simple but effective implementation in both Perl and Raku that is ready to use.

The first time I attempted to write and use an ECS, I read the same articles and blog posts that everyone does and completely missed the point. A year or so later, while giving this a fresh go, I figured out the part that was missing, and ended up writing an entity registry that is simple and fast (enough), and learning a ton about data structures and algorithms in the process.

Join me in this talk as I show what I tried first, why it was entirely the wrong thing to do, and why this current attempt is different. In the process, we'll learn about sparse sets, data locality, and I'll demonstrate some libraries you can use right now.

Link to slides: https://jjatria.gitlab.io/discoverability-composability

avatar for José Joaquín Atria

José Joaquín Atria

Development Team Lead, CV-Library

Tuesday June 8, 2021 13:00 - 13:50 EDT
Zoom Room 2
  Track 2