Friflo.Engine.ECS
3.0.0-preview.11
Prefix Reserved
See the version list below for details.
dotnet add package Friflo.Engine.ECS --version 3.0.0-preview.11
NuGet\Install-Package Friflo.Engine.ECS -Version 3.0.0-preview.11
<PackageReference Include="Friflo.Engine.ECS" Version="3.0.0-preview.11" />
paket add Friflo.Engine.ECS --version 3.0.0-preview.11
#r "nuget: Friflo.Engine.ECS, 3.0.0-preview.11"
// Install Friflo.Engine.ECS as a Cake Addin #addin nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.11&prerelease // Install Friflo.Engine.ECS as a Cake Tool #tool nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.11&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
|
|
friflo/Friflo.Json.Fliox
C# ECS + ORM
|
|
Doraku/Ecs.CSharp.Benchmark
Benchmarks of some C# ECS frameworks.
|
Version | Downloads | Last updated | |
---|---|---|---|
3.0.0-preview.17 | 38 | 11/29/2024 | |
3.0.0-preview.16 | 67 | 11/22/2024 | |
3.0.0-preview.15 | 48 | 11/19/2024 | |
3.0.0-preview.14 | 389 | 11/12/2024 | |
3.0.0-preview.13 | 775 | 8/26/2024 | |
3.0.0-preview.12 | 108 | 8/18/2024 | |
3.0.0-preview.11 | 204 | 8/11/2024 | |
3.0.0-preview.10 | 110 | 8/8/2024 | |
3.0.0-preview.9 | 57 | 8/8/2024 | |
3.0.0-preview.8 | 56 | 8/8/2024 | |
3.0.0-preview.7 | 133 | 7/31/2024 | |
3.0.0-preview.6 | 195 | 7/25/2024 | |
3.0.0-preview.5 | 60 | 7/22/2024 | |
3.0.0-preview.4 | 94 | 7/21/2024 | |
3.0.0-preview.3 | 82 | 7/20/2024 | |
3.0.0-preview.2 | 148 | 7/7/2024 | |
3.0.0-preview.1 | 106 | 6/26/2024 | |
2.2.0 | 331 | 6/24/2024 | |
2.1.0 | 112 | 6/19/2024 | |
2.0.0 | 187 | 6/10/2024 | |
2.0.0-preview.9 | 85 | 6/9/2024 | |
2.0.0-preview.8 | 89 | 6/8/2024 | |
2.0.0-preview.7 | 92 | 6/6/2024 | |
2.0.0-preview.6 | 94 | 6/5/2024 | |
2.0.0-preview.5 | 87 | 6/4/2024 | |
2.0.0-preview.4 | 106 | 5/31/2024 | |
2.0.0-preview.3 | 104 | 5/29/2024 | |
2.0.0-preview.2 | 113 | 5/22/2024 | |
2.0.0-preview.1 | 93 | 5/21/2024 | |
1.28.0 | 256 | 4/3/2024 | |
1.27.0 | 170 | 4/3/2024 | |
1.26.0 | 185 | 3/31/2024 | |
1.25.0 | 204 | 3/26/2024 | |
1.24.0 | 185 | 3/13/2024 | |
1.23.0 | 217 | 2/29/2024 | |
1.22.0 | 181 | 2/28/2024 | |
1.21.0 | 156 | 2/27/2024 | |
1.20.0 | 167 | 2/27/2024 | |
1.19.0 | 150 | 2/26/2024 | |
1.18.0 | 188 | 2/24/2024 | |
1.17.0 | 161 | 2/19/2024 | |
1.16.0 | 191 | 2/15/2024 | |
1.15.0 | 197 | 2/13/2024 | |
1.14.0 | 491 | 2/11/2024 | |
1.13.0 | 191 | 2/1/2024 | |
1.12.0 | 165 | 1/31/2024 | |
1.11.0 | 144 | 1/30/2024 | |
1.10.0 | 149 | 1/28/2024 | |
1.9.9 | 167 | 1/25/2024 | |
1.9.8 | 174 | 1/23/2024 | |
1.9.7 | 164 | 1/22/2024 | |
1.9.6 | 163 | 1/21/2024 | |
1.9.5 | 157 | 1/20/2024 | |
1.9.4 | 159 | 1/19/2024 | |
1.9.3 | 168 | 1/17/2024 | |
1.9.2 | 167 | 1/17/2024 | |
1.9.1 | 167 | 1/17/2024 | |
1.9.0 | 154 | 1/16/2024 | |
1.8.0 | 163 | 1/15/2024 | |
1.7.0 | 159 | 1/14/2024 | |
1.6.0 | 160 | 1/14/2024 | |
1.5.0 | 166 | 1/14/2024 | |
1.4.0 | 153 | 1/13/2024 | |
1.3.0 | 170 | 1/13/2024 | |
1.2.0 | 150 | 1/12/2024 | |
1.1.0 | 159 | 1/12/2024 | |
1.0.0 | 155 | 1/11/2024 | |
0.3.0 | 166 | 1/11/2024 | |
0.2.0 | 160 | 1/11/2024 | |
0.1.0 | 197 | 1/11/2024 |