Friflo.Engine.ECS
3.0.0-preview.8
Prefix Reserved
Deprecated. Final release available.
See the version list below for details.
dotnet add package Friflo.Engine.ECS --version 3.0.0-preview.8
NuGet\Install-Package Friflo.Engine.ECS -Version 3.0.0-preview.8
<PackageReference Include="Friflo.Engine.ECS" Version="3.0.0-preview.8" />
paket add Friflo.Engine.ECS --version 3.0.0-preview.8
#r "nuget: Friflo.Engine.ECS, 3.0.0-preview.8"
// Install Friflo.Engine.ECS as a Cake Addin #addin nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.8&prerelease // Install Friflo.Engine.ECS as a Cake Tool #tool nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.8&prerelease
Friflo.Engine.ECS
High Performance C# ECS - Entity Component System.
The ECS for finishers 🏁
Feature highlights
- Simple API - no boilerplate, rock-solid 🗿 and bulletproof 🛡️
- High-performance 🔥 compact ECS
- Low memory footprint 👣. Create 100.000.000 entities in 1.5 sec
- Zero ⦰ allocations after buffers are large enough. No struct boxing
- High performant / type-safe queries ⊆
- Efficient multithreaded queries ⇶
- Entity component Search in O(1) ∈
- Fast batch / bulk operations ⏩
- Command buffers / deferred operations ⏭️
- Entity relationships and relations ⌘
- Entity hierarchy / tree ⪪
- Fully reactive / entity events ⚡
- Systems / System groups ⚙️
- Watch entities, components, relations, tags, query results, systems, ... in debugger 🐞
- JSON Serialization 💿
- SIMD Support 🧮
- Supports .NET Standard 2.1 .NET 5 .NET 6 .NET 7 .NET 8
WASM / WebAssembly, Unity (Mono, AOT/IL2CPP, WebGL), Godot, MonoGame, ... and Native AOT - 100% secure C# 🔒. No unsafe code, native dll bindings and access violations. See Wiki ⋅ Library.
More at GitHub README.md
What is an ECS?
An entity-component-system (ECS) is a software architecture pattern. See ECS ⋅ Wikipedia.
It is often used in the Gaming industry - e.g. Minecraft - and used for high performant data processing.
An ECS provide two strengths:
It enables writing highly decoupled code. Data is stored in Components which are assigned to objects - aka Entities - at runtime.
Code decoupling is accomplished by dividing implementation in pure data structures (Component types) - and code (Systems) to process them.It enables high performant system execution by storing components in continuous memory to leverage CPU caches L1, L2 & L3.
It improves CPU branch prediction by minimizing conditional branches when processing components in tight loops.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Friflo.Json.Fliox (>= 1.0.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net6.0
- Friflo.Json.Fliox (>= 1.0.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net7.0
- Friflo.Json.Fliox (>= 1.0.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net8.0
- Friflo.Json.Fliox (>= 1.0.2)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Friflo.Engine.ECS:
Package | Downloads |
---|---|
Friflo.Engine.ECS.Boost
Entity Component System - ECS - optimized for performance and cache locality |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Friflo.Engine.ECS:
Repository | Stars |
---|---|
friflo/Friflo.Engine.ECS
C# ECS - High-performance, Relations & Search index
|
|
friflo/Friflo.Json.Fliox
C# ECS + ORM
|
|
Doraku/Ecs.CSharp.Benchmark
Benchmarks of some C# ECS frameworks.
|
Version | Downloads | Last updated | |
---|---|---|---|
3.0.0 | 165 | 12/15/2024 | |
3.0.0-preview.19 | 80 | 12/9/2024 | |
3.0.0-preview.18 | 181 | 12/2/2024 | |
3.0.0-preview.17 | 64 | 11/29/2024 | |
3.0.0-preview.16 | 96 | 11/22/2024 | |
3.0.0-preview.15 | 68 | 11/19/2024 | |
3.0.0-preview.14 | 413 | 11/12/2024 | |
3.0.0-preview.13 | 802 | 8/26/2024 | |
3.0.0-preview.12 | 125 | 8/18/2024 | |
3.0.0-preview.11 | 225 | 8/11/2024 | |
3.0.0-preview.10 | 131 | 8/8/2024 | |
3.0.0-preview.9 | 74 | 8/8/2024 | |
3.0.0-preview.8 | 72 | 8/8/2024 | |
3.0.0-preview.7 | 159 | 7/31/2024 | |
3.0.0-preview.6 | 214 | 7/25/2024 | |
3.0.0-preview.5 | 79 | 7/22/2024 | |
3.0.0-preview.4 | 112 | 7/21/2024 | |
3.0.0-preview.3 | 100 | 7/20/2024 | |
3.0.0-preview.2 | 166 | 7/7/2024 | |
3.0.0-preview.1 | 124 | 6/26/2024 | |
2.2.0 | 361 | 6/24/2024 | |
2.1.0 | 125 | 6/19/2024 | |
2.0.0 | 196 | 6/10/2024 | |
2.0.0-preview.9 | 88 | 6/9/2024 | |
2.0.0-preview.8 | 93 | 6/8/2024 | |
2.0.0-preview.7 | 95 | 6/6/2024 | |
2.0.0-preview.6 | 98 | 6/5/2024 | |
2.0.0-preview.5 | 91 | 6/4/2024 | |
2.0.0-preview.4 | 112 | 5/31/2024 | |
2.0.0-preview.3 | 108 | 5/29/2024 | |
2.0.0-preview.2 | 117 | 5/22/2024 | |
2.0.0-preview.1 | 97 | 5/21/2024 | |
1.28.0 | 260 | 4/3/2024 | |
1.27.0 | 174 | 4/3/2024 | |
1.26.0 | 189 | 3/31/2024 | |
1.25.0 | 208 | 3/26/2024 | |
1.24.0 | 191 | 3/13/2024 | |
1.23.0 | 221 | 2/29/2024 | |
1.22.0 | 185 | 2/28/2024 | |
1.21.0 | 159 | 2/27/2024 | |
1.20.0 | 171 | 2/27/2024 | |
1.19.0 | 154 | 2/26/2024 | |
1.18.0 | 192 | 2/24/2024 | |
1.17.0 | 165 | 2/19/2024 | |
1.16.0 | 195 | 2/15/2024 | |
1.15.0 | 201 | 2/13/2024 | |
1.14.0 | 534 | 2/11/2024 | |
1.13.0 | 195 | 2/1/2024 | |
1.12.0 | 170 | 1/31/2024 | |
1.11.0 | 148 | 1/30/2024 | |
1.10.0 | 152 | 1/28/2024 | |
1.9.9 | 170 | 1/25/2024 | |
1.9.8 | 178 | 1/23/2024 | |
1.9.7 | 167 | 1/22/2024 | |
1.9.6 | 167 | 1/21/2024 | |
1.9.5 | 160 | 1/20/2024 | |
1.9.4 | 165 | 1/19/2024 | |
1.9.3 | 171 | 1/17/2024 | |
1.9.2 | 169 | 1/17/2024 | |
1.9.1 | 170 | 1/17/2024 | |
1.9.0 | 160 | 1/16/2024 | |
1.8.0 | 169 | 1/15/2024 | |
1.7.0 | 163 | 1/14/2024 | |
1.6.0 | 164 | 1/14/2024 | |
1.5.0 | 170 | 1/14/2024 | |
1.4.0 | 157 | 1/13/2024 | |
1.3.0 | 174 | 1/13/2024 | |
1.2.0 | 154 | 1/12/2024 | |
1.1.0 | 163 | 1/12/2024 | |
1.0.0 | 159 | 1/11/2024 | |
0.3.0 | 171 | 1/11/2024 | |
0.2.0 | 164 | 1/11/2024 | |
0.1.0 | 201 | 1/11/2024 |