VOOZH about

URL: https://www.nuget.org/packages/Frent/

⇱ NuGet Gallery | Frent 0.7.1-beta




Frent 0.7.1-beta

This is a prerelease version of Frent.
dotnet add package Frent --version 0.7.1-beta
 
 
NuGet\Install-Package Frent -Version 0.7.1-beta
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Frent" Version="0.7.1-beta" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Frent" Version="0.7.1-beta" />
 
Directory.Packages.props
<PackageReference Include="Frent" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Frent --version 0.7.1-beta
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Frent, 0.7.1-beta"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Frent@0.7.1-beta
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Frent&version=0.7.1-beta&prerelease
 
Install as a Cake Addin
#tool nuget:?package=Frent&version=0.7.1-beta&prerelease
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Frent

👁 NuGet
👁 NuGet
👁 GitHub commit activity (branch)
👁 Help
👁 GitHub Repo stars

A high performance, low memory usage, archetyped based EC framework/ECS library for C#.

Whaaaat?! Aren't there enough ECS libraries out there!

While Frent's implementation is a hybrid archetypical and sparse set based ECS, thats not why Frent was made. Frent is primarily an EC framework - Entity Component framework - that allows you to easily use composition for code reuse rather than inheritance with minimal boilerplate. Write components that include behavior, lifetime management, and events while enjoying all the performance benefits of an ECS.

Want to write systems anyways? Frent also has a Systems API that allows you to query entities in the style of an ECS.

Frent is still in beta and is not completely stable.

Quick Example

using Frent;
using Frent.Systems;
using Frent.Components;
using System.Numerics;

using World world = new World();
Entity entity = world.Create<Position, Velocity>(new(Vector2.Zero), new(Vector2.One));

//Call Update to run the update functions of your components
world.Update();

// Position is (1, 1)
Console.WriteLine(entity.Get<Position>());

record struct Position(Vector2 Value);
record struct Velocity(Vector2 Delta) : IComponent<Position>
{
 public void Update(ref Position position) => position.Value += Delta;
}

Wanna learn more? Dive into the docs or check out the Interactive Demo!

There is also samples for Monogame, Unity and Godot.

Performance

Frent is a lot faster than most C# ECS implementations - Benchmark.

Features

  • Tiny entity struct the size of 8 bytes
  • Up to 127 components per entity
  • struct & class as components
  • Pass in uniform data automatically e.g., deltaTime
  • AOT Compatible & Zero reflection
  • Tags
  • Events
  • Command buffer
  • Multithreading
  • Seamless storage in sparse sets or archetypes
  • Automatic structural change management
  • Create entities anytime - no command buffer
  • EntityMarshal and WorldMarshal for even faster speeds!

Contributing

Wanna help?

Report bugs, suggest APIs, and give general feedback. Just open an issue before starting a large feature.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Frent:

Package Downloads
Waddle

A simple data-driven game engine built on .NET.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Frent:

Repository Stars
Doraku/Ecs.CSharp.Benchmark
Benchmarks of some C# ECS frameworks.
ShenCiao/Ciallo
The next-generation vector paint program built with Godot C#.
Version Downloads Last Updated
0.7.1-beta 149 3/25/2026
0.7.0-beta 161 1/10/2026
0.6.1-beta 245 11/6/2025
0.6.0-beta 152 10/19/2025
0.5.9-beta 219 10/9/2025
0.5.8-beta 186 10/8/2025
0.5.7-beta 164 8/23/2025
0.5.6.5-beta 161 8/17/2025
0.5.6.4-beta 258 8/5/2025
0.5.6.3-beta 428 7/7/2025
0.5.6.2-beta 134 6/28/2025
0.5.6.1-beta 123 6/20/2025
0.5.6-beta 184 6/19/2025
0.5.5.1-beta 343 4/14/2025
0.5.5-beta 233 4/14/2025
0.5.4.3-beta 2,408 3/25/2025
0.5.4.2-beta 522 3/24/2025
0.5.4.1-beta 517 3/24/2025
0.5.4-beta 327 3/23/2025
0.5.3.1-beta 320 3/19/2025
Loading failed