PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! π
β2,161Dec 6, 2025Updated 2 months ago
Alternatives and similar repositories for PolySharp
Users that are interested in PolySharp are comparing it to the libraries listed below
Sorting:
- Source only package that exposes newer APIs, .net features, and C# features to older runtimes.β440Updated this week
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.β3,390Feb 21, 2026Updated last week
- A .NET source generator for generating object mappings. No runtime reflection.β3,926Feb 21, 2026Updated last week
- A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.β2,397Feb 12, 2026Updated 2 weeks ago
- Library for interacting with command-line interfacesβ4,896Jan 14, 2026Updated last month
- Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.β3,472Aug 13, 2024Updated last year
- A modern, fast and flexible .NET testing frameworkβ3,749Updated this week
- Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.β2,134Updated this week
- A Roslyn analyzer to enforce some good practices in C#.β1,093Updated this week
- A source generator for generating fast "reflection" methods for enumsβ1,102Updated this week
- Pure DI for .NETβ767Updated this week
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.β506Updated this week
- Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matchingβ4,003Aug 7, 2024Updated last year
- C# discriminated union source generatorβ864Updated this week
- Next generation API for .NETβ1,905Feb 18, 2026Updated last week
- A .NET library that makes it easier to create beautiful console applications.β11,234Updated this week
- .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platformβ¦β3,619Feb 2, 2026Updated 3 weeks ago
- A command line C# REPL with syntax highlighting β explore the language, libraries and nuget packages interactively.β3,274Feb 2, 2026Updated 3 weeks ago
- A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with tβ¦β3,096Aug 16, 2025Updated 6 months ago
- A high performance implementation of Mediator pattern in .NET using source generators.β3,368Feb 8, 2026Updated 2 weeks ago
- C# Source Generator based dependency injection container implementation.β1,175Sep 12, 2025Updated 5 months ago
- High performance understanding for stack traces (Make error logs more productive)β2,867Mar 14, 2024Updated last year
- compile time dependency injection for .NETβ869Jun 30, 2025Updated 8 months ago
- A library to provide pooling for .NET MemoryStream objects to improve application performance.β2,128Updated this week
- World's Fastest .NET CSV Parser. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv` etc.). Croβ¦β1,392Updated this week
- Zero allocation LINQ with LINQ to Span, LINQ to SIMD, and LINQ to Tree (FileSystem, JSON, GameObject, etc.) for all .NET platforms and Unβ¦β4,949Updated this week
- Makes life working with units of measurement just a little bit better.β2,931Dec 7, 2025Updated 2 months ago
- C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)β3,911Nov 13, 2025Updated 3 months ago
- Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expreβ¦β1,348Updated this week
- A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.β4,250Feb 16, 2026Updated last week
- Command line parsing, invocation, and rendering of terminal output.β3,641Updated this week
- Fast .NET C# Implementation of ULID for .NET and Unity.β1,614Jan 5, 2026Updated last month
- Drop-in replacement of LINQ aggregation operations extremely faster with SIMD.β784Apr 8, 2025Updated 10 months ago
- A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.β2,462Updated this week
- Easily build, run tests and coverage, cross-compile, package and publish your .NET library or application to NuGet and GitHub.β750Feb 14, 2026Updated 2 weeks ago
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objectsβ1,377Jan 25, 2026Updated last month
- Powerful .NET library for benchmarkingβ11,365Updated this week
- Zero encoding extreme performance binary serializer for C# and Unity.β4,387Jan 5, 2026Updated last month
- The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your RESβ¦β9,399Feb 18, 2026Updated last week