Friflo.Engine.ECS
3.0.0-preview.16
Prefix Reserved
dotnet add package Friflo.Engine.ECS --version 3.0.0-preview.16
NuGet\Install-Package Friflo.Engine.ECS -Version 3.0.0-preview.16
<PackageReference Include="Friflo.Engine.ECS" Version="3.0.0-preview.16" />
paket add Friflo.Engine.ECS --version 3.0.0-preview.16
#r "nuget: Friflo.Engine.ECS, 3.0.0-preview.16"
// Install Friflo.Engine.ECS as a Cake Addin #addin nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.16&prerelease // Install Friflo.Engine.ECS as a Cake Tool #tool nuget:?package=Friflo.Engine.ECS&version=3.0.0-preview.16&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.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net6.0
- Friflo.Json.Fliox (>= 1.0.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net7.0
- Friflo.Json.Fliox (>= 1.0.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net8.0
- Friflo.Json.Fliox (>= 1.0.3)
- 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.16 | 49 | 11/22/2024 | |
3.0.0-preview.15 | 45 | 11/19/2024 | |
3.0.0-preview.14 | 383 | 11/12/2024 | |
3.0.0-preview.13 | 754 | 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 | 126 | 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 | 316 | 6/24/2024 | |
2.1.0 | 110 | 6/19/2024 | |
2.0.0 | 185 | 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 | 254 | 4/3/2024 | |
1.27.0 | 168 | 4/3/2024 | |
1.26.0 | 183 | 3/31/2024 | |
1.25.0 | 202 | 3/26/2024 | |
1.24.0 | 183 | 3/13/2024 | |
1.23.0 | 215 | 2/29/2024 | |
1.22.0 | 179 | 2/28/2024 | |
1.21.0 | 154 | 2/27/2024 | |
1.20.0 | 165 | 2/27/2024 | |
1.19.0 | 148 | 2/26/2024 | |
1.18.0 | 186 | 2/24/2024 | |
1.17.0 | 159 | 2/19/2024 | |
1.16.0 | 189 | 2/15/2024 | |
1.15.0 | 195 | 2/13/2024 | |
1.14.0 | 480 | 2/11/2024 | |
1.13.0 | 189 | 2/1/2024 | |
1.12.0 | 163 | 1/31/2024 | |
1.11.0 | 142 | 1/30/2024 | |
1.10.0 | 147 | 1/28/2024 | |
1.9.9 | 165 | 1/25/2024 | |
1.9.8 | 172 | 1/23/2024 | |
1.9.7 | 162 | 1/22/2024 | |
1.9.6 | 161 | 1/21/2024 | |
1.9.5 | 155 | 1/20/2024 | |
1.9.4 | 157 | 1/19/2024 | |
1.9.3 | 166 | 1/17/2024 | |
1.9.2 | 165 | 1/17/2024 | |
1.9.1 | 165 | 1/17/2024 | |
1.9.0 | 152 | 1/16/2024 | |
1.8.0 | 161 | 1/15/2024 | |
1.7.0 | 157 | 1/14/2024 | |
1.6.0 | 158 | 1/14/2024 | |
1.5.0 | 164 | 1/14/2024 | |
1.4.0 | 151 | 1/13/2024 | |
1.3.0 | 168 | 1/13/2024 | |
1.2.0 | 148 | 1/12/2024 | |
1.1.0 | 157 | 1/12/2024 | |
1.0.0 | 153 | 1/11/2024 | |
0.3.0 | 164 | 1/11/2024 | |
0.2.0 | 158 | 1/11/2024 | |
0.1.0 | 195 | 1/11/2024 |