Friflo.Engine.ECS
3.0.0-preview.12
Prefix Reserved
See the version list below for details.
dotnet add package Friflo.Engine.ECS --version 3.0.0-preview.12
NuGet\Install-Package Friflo.Engine.ECS -Version 3.0.0-preview.12
<PackageReference Include="Friflo.Engine.ECS" Version="3.0.0-preview.12" />
paket add Friflo.Engine.ECS --version 3.0.0-preview.12
#r "nuget: Friflo.Engine.ECS, 3.0.0-preview.12"
// Install Friflo.Engine.ECS as a Cake Addin #addin nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.12&prerelease // Install Friflo.Engine.ECS as a Cake Tool #tool nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.12&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.Json.Fliox
C# ECS + ORM
|
|
friflo/Friflo.Engine.ECS
C# ECS 🔥 high-performance
|
|
Doraku/Ecs.CSharp.Benchmark
Benchmarks of some C# ECS frameworks.
|
Version | Downloads | Last updated | |
---|---|---|---|
3.0.0-preview.13 | 732 | 8/26/2024 | |
3.0.0-preview.12 | 105 | 8/18/2024 | |
3.0.0-preview.11 | 201 | 8/11/2024 | |
3.0.0-preview.10 | 107 | 8/8/2024 | |
3.0.0-preview.9 | 54 | 8/8/2024 | |
3.0.0-preview.8 | 53 | 8/8/2024 | |
3.0.0-preview.7 | 118 | 7/31/2024 | |
3.0.0-preview.6 | 192 | 7/25/2024 | |
3.0.0-preview.5 | 57 | 7/22/2024 | |
3.0.0-preview.4 | 89 | 7/21/2024 | |
3.0.0-preview.3 | 79 | 7/20/2024 | |
3.0.0-preview.2 | 145 | 7/7/2024 | |
3.0.0-preview.1 | 103 | 6/26/2024 | |
2.2.0 | 287 | 6/24/2024 | |
2.1.0 | 107 | 6/19/2024 | |
2.0.0 | 182 | 6/10/2024 | |
2.0.0-preview.9 | 82 | 6/9/2024 | |
2.0.0-preview.8 | 86 | 6/8/2024 | |
2.0.0-preview.7 | 89 | 6/6/2024 | |
2.0.0-preview.6 | 91 | 6/5/2024 | |
2.0.0-preview.5 | 84 | 6/4/2024 | |
2.0.0-preview.4 | 103 | 5/31/2024 | |
2.0.0-preview.3 | 101 | 5/29/2024 | |
2.0.0-preview.2 | 110 | 5/22/2024 | |
2.0.0-preview.1 | 90 | 5/21/2024 | |
1.28.0 | 251 | 4/3/2024 | |
1.27.0 | 165 | 4/3/2024 | |
1.26.0 | 180 | 3/31/2024 | |
1.25.0 | 199 | 3/26/2024 | |
1.24.0 | 180 | 3/13/2024 | |
1.23.0 | 212 | 2/29/2024 | |
1.22.0 | 176 | 2/28/2024 | |
1.21.0 | 151 | 2/27/2024 | |
1.20.0 | 162 | 2/27/2024 | |
1.19.0 | 145 | 2/26/2024 | |
1.18.0 | 183 | 2/24/2024 | |
1.17.0 | 156 | 2/19/2024 | |
1.16.0 | 186 | 2/15/2024 | |
1.15.0 | 192 | 2/13/2024 | |
1.14.0 | 458 | 2/11/2024 | |
1.13.0 | 184 | 2/1/2024 | |
1.12.0 | 154 | 1/31/2024 | |
1.11.0 | 139 | 1/30/2024 | |
1.10.0 | 144 | 1/28/2024 | |
1.9.9 | 162 | 1/25/2024 | |
1.9.8 | 169 | 1/23/2024 | |
1.9.7 | 159 | 1/22/2024 | |
1.9.6 | 158 | 1/21/2024 | |
1.9.5 | 152 | 1/20/2024 | |
1.9.4 | 154 | 1/19/2024 | |
1.9.3 | 163 | 1/17/2024 | |
1.9.2 | 162 | 1/17/2024 | |
1.9.1 | 162 | 1/17/2024 | |
1.9.0 | 149 | 1/16/2024 | |
1.8.0 | 158 | 1/15/2024 | |
1.7.0 | 154 | 1/14/2024 | |
1.6.0 | 155 | 1/14/2024 | |
1.5.0 | 161 | 1/14/2024 | |
1.4.0 | 148 | 1/13/2024 | |
1.3.0 | 165 | 1/13/2024 | |
1.2.0 | 145 | 1/12/2024 | |
1.1.0 | 154 | 1/12/2024 | |
1.0.0 | 148 | 1/11/2024 | |
0.3.0 | 161 | 1/11/2024 | |
0.2.0 | 155 | 1/11/2024 | |
0.1.0 | 192 | 1/11/2024 |