Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Simple composition, where an entity just has some components on it, can be completely "unrolled" at compile time, essentially removing all indirection as if the entity had all of the data to begin with. You don't need pointers.

For more complex composition, an ECS runtime would likely group all components of the same kind into the same place so that systems that ran with those components get even better data locality.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: