Loading repository data…
Loading repository data…
Juiix / repository
A high-performance, cache-efficient Entity Component System (ECS) for C#. Features chunk-based storage, fast queries, source-generated iteration, multithreading, SIMD support, and zero external dependencies.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A modern, cache-efficient Entity Component System (ECS) designed for games, simulations, and other data-oriented workloads. EntitiesDb focuses on raw performance, simple APIs, and zero external dependencies — all within pure C#.
using EntitiesDb;
// Define components
public record struct Position(float X, float Y);
public record struct Velocity(float Dx, float Dy);
public record struct Health(int Points, int Max);
// Create database
using var db = new EntityDatabase();
// Create an entity
var player = db.Create(
new Position(10, 10),
new Velocity(5, 5),
new Health(100, 100)
);
// Build a query
var query = db.QueryBuilder
.WithAll<Position, Velocity>()
.Build();
// Update all matching entities
query.ForEach((ref Position pos, in Velocity vel) =>
{
pos.X += vel.Dx;
pos.Y += vel.Dy;
});
Install via NuGet:
Install-Package EntitiesDb
dotnet add package EntitiesDb
<ItemGroup>
<PackageReference Include="EntitiesDb" Version="*" />
</ItemGroup>
Looking for the full API, examples, and advanced usage?
📚 Docs: DOCS.md
🧩 Includes: components, queries, buffers, tags, multithreading, SIMD, and more.
MIT License. Feel free to use EntitiesDb in commercial or open-source projects.