# dotnet/dotNext

Next generation API for .NET

Repository: https://github.com/dotnet/dotNext
Canonical: https://ross.abutalabs.com/products/dotnext
Homepage: https://dotnet.github.io/dotNext/
Language: C#
License: MIT
License Family: permissive
Topics: reflection, raft, raft-consensus, raft-consensus-algorithm, delegate, csharp, dotnet, dotnext, async, write-ahead-log, async-lock, atomic-operation, fast-reflection, metaprogramming, cluster, dotnetcore, raft-server, hyparview, concurrency
Last push: 2026-08-25T20:43:51+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2819, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1957, forks 157 (observed 2026-08-28T04:05:59.116561+00:00)

## What it is
DotNext is a family of .NET libraries extending the standard API with high-performance, low-allocation primitives such as async locks, unmanaged memory allocators, fast reflection, and metaprogramming tools. It also provides distributed systems building blocks including a Raft consensus implementation, write-ahead log, TCP multiplexing, and HyParView membership protocol.

## Use cases
- build a raft consensus cluster in .NET
- implement a write-ahead log for a database engine
- avoid allocations in high-load microservices
- generate code at runtime with async expression trees
- work with unmanaged memory safely in C#
- async-friendly locking and synchronization primitives
- implement peer-to-peer cluster membership with HyParView

## When to choose
- you need near-zero-allocation, high-throughput primitives beyond the .NET BCL
- you're building distributed state machines, actors, or database engines on .NET
- you need runtime code generation with async lambda support

## When to avoid
- you want a simple, batteries-included framework rather than low-level building blocks
- your project doesn't run on modern .NET (requires .NET 10)
- you need battle-tested mainstream alternatives over a single-maintainer-style library

## Facets
- artifact type: library
- maturity: active
- function: concurrency, caching, rpc, serialization, logging
- domain: microservices, developer-tools, performance, backend
- platform: dotnet, cross-platform, windows, wasm
- tags: raft-consensus, write-ahead-log, metaprogramming, async, unmanaged-memory, hyparview, cluster, high-performance, linux, macos

## Member repositories
- dotnet/dotNext (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.116561+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:06:01.025718+00:00, confidence not recorded.
  - readme: https://github.com/dotnet/dotNext (fetched 2026-08-28T04:05:59.116561+00:00, sha cf17862858cf)
  - homepage: https://dotnet.github.io/dotNext/ (fetched 2026-08-29T10:45:50.239080+00:00, sha fe169f778851)
- Data as of 2026-08-30T08:39:29.467469+00:00.
