Concepts
Feather is quite a bit different from regular Minecraft server software written in Java. Feather is written using the Entity Component System architecture, which greatly improves the utilization of the CPU, most notable being improved cache hit ratio, compared to Object Oriented Programming.
The following definitions is used throughout the book to avoid confusion
- Entity is a unique identifier used to associate data in ECS.
- Component is a container of data associated with a single entity in ECS.
- World is a container of queryable data associated with entity's in ECS.
- Spawn is the action of inserting an entity and its components into a world in ECS.
- Despawn is the action of removing an entity and its components from a world in ECS.
- Dimension is a world in Minecraft.
Chapters
Additional resources
- Theres a great talk on ECS from RustConf 2018.
- Theres a great comparison between Specs and Legion here by Cora Sherratt who worked on specs.