Find Related products on Amazon

Shop on Amazon

Show HN: Evolved.lua – An Evolved Entity Component System for Lua

Published on: 2025-06-29 04:46:45

evolved.lua (work in progress) Evolved ECS (Entity-Component-System) for Lua Introduction evolved.lua is a fast and flexible ECS (Entity-Component-System) library for Lua. It is designed to be simple and easy to use, while providing all the features needed to create complex systems with blazing performance. Before we start exploring the library, let's take a look at the main advantages of using evolved.lua : Performance This library is designed to be fast. Many techniques are employed to achieve this. It uses an archetype-based approach to store entities and their components. Components are stored in contiguous arrays in a SoA (Structure of Arrays) manner, which allows for fast iteration and processing. Chunks are used to group entities with the same set of components together, enabling efficient filtering through queries. Additionally, all operations are designed to minimize GC (Garbage Collector) pressure and avoid unnecessary allocations. I have tried to take into account all t ... Read full article.