Sep
Cursively
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Sep
-
Eli Bendersky: Faster XML Stream Processing in Go
Pretty sure the C performance would have been trivially matched by C# were it to be ported there.
While not XML (which does not see much love from the community to surprise of HN), gigabytes per second of parsing throughput are reached for CSV without sacrificing UX: https://github.com/nietras/Sep?tab=readme-ov-file#packageass...
-
Friends don't let friends export to CSV
If you ever need to parse CSV really fast and happen to know C#, there is an incredible vectorized parser for that: https://github.com/nietras/Sep/
Cursively
-
Ask HN: Examples of Top C# Code?
I was looking at the CSV parser Cursively recently, and I think it is a good simple example of a high performance C# parser and API design.
https://github.com/airbreather/Cursively
-
The Fastest Csv Parser In Net
Agreed, and agreed. #21 and #22 seek to address this, but these have actually been very low priority for me: as your benchmarks show, if you primarily need a bunch of objects that must be UTF-16 strings, then are other libraries out there that will do the job just fine. The main reason to use Cursively for that would be if you have some use cases where you need the unusual qualities that Cursively offers, but other use cases where you can live with something more traditional, and you don't want to have two different CSV processing libraries.
The usage instructions are in the README on https://github.com/airbreather/Cursively. The most straightforward way to get started (for now) is:
What are some alternatives?
CsvExport - Very simple CSV-export tool for C#
Sylvan - A collection of .NET libraries, including the fastest general-purpose CSV parser for .NET.
PdfSharpCore - Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
AlterNats - An alternative high performance NATS client for .NET.
H.Pipes - A simple, easy to use, strongly-typed, async wrapper around .NET named pipes.
oqtane.framework - CMS & Application Framework for Blazor & .NET MAUI
CsvBenchmarks - Benchmarks for various .NET libraries.
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
TableToImageExport - C# Library for processing tabular data into images.
TodoApi - Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication