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,172Dec 6, 2025Updated 3 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.β449Updated this week
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.β3,401Updated this week
- A .NET source generator for generating object mappings. No runtime reflection.β3,950Updated this week
- Library for interacting with command-line interfacesβ4,916Mar 4, 2026Updated 2 weeks ago
- A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.β2,401Mar 3, 2026Updated 2 weeks ago
- Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.β3,471Aug 13, 2024Updated last year
- A modern, fast and flexible .NET testing frameworkβ3,801Updated this week
- Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matchingβ4,014Aug 7, 2024Updated last year
- C# discriminated union source generatorβ869Updated this week
- A Roslyn analyzer to enforce some good practices in C#.β1,099Mar 13, 2026Updated last week
- A source generator for generating fast "reflection" methods for enumsβ1,109Mar 11, 2026Updated last week
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.β511Updated this week
- Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.β2,148Feb 25, 2026Updated 3 weeks ago
- Pure DI for .NETβ775Updated this week
- A high performance implementation of Mediator pattern in .NET using source generators.β3,396Mar 2, 2026Updated 2 weeks ago
- A .NET library that makes it easier to create beautiful console applications.β11,281Updated 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,633Feb 26, 2026Updated 3 weeks ago
- Next generation API for .NETβ1,911Mar 10, 2026Updated last week
- A command line C# REPL with syntax highlighting β explore the language, libraries and nuget packages interactively.β3,282Feb 2, 2026Updated last month
- C# Source Generator based dependency injection container implementation.β1,175Sep 12, 2025Updated 6 months ago
- Makes life working with units of measurement just a little bit better.β2,932Mar 8, 2026Updated last week
- 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,104Aug 16, 2025Updated 7 months ago
- A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.β4,258Mar 12, 2026Updated last 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,973Mar 13, 2026Updated last week
- High performance understanding for stack traces (Make error logs more productive)β2,865Mar 14, 2024Updated 2 years ago
- 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,131Mar 13, 2026Updated last week
- Command line parsing, invocation, and rendering of terminal output.β3,645Updated this week
- A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.β2,467Feb 26, 2026Updated 3 weeks ago
- Powerful .NET library for benchmarkingβ11,375Updated this week
- C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)β3,915Nov 13, 2025Updated 4 months ago
- Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expreβ¦β1,349Updated this week
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objectsβ1,391Updated this week
- The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your RESβ¦β9,436Feb 27, 2026Updated 3 weeks ago
- World's Fastest .NET CSV Parser. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv` etc.). Croβ¦β1,417Feb 23, 2026Updated 3 weeks ago
- C# pure functional programming framework - come and get declarative!β7,034Feb 11, 2026Updated last month
- Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and moβ¦β4,279Jul 20, 2025Updated 8 months ago
- Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantitiesβ9,524Updated this week
- Drop-in replacement of LINQ aggregation operations extremely faster with SIMD.β781Apr 8, 2025Updated 11 months ago