Runtime
news

26stories

Stories

NET 10 JSON
Read JSON from a pipe
ELelmah.io Blog Ali Hamza Ansari Oct 20

Reading large JSON with PipeReader in .NET 10 System.Text.Json

Ali Hamza Ansari compares the PipeReader overload that .NET 10 adds to System.Text.Json with reading the same large JSON payload from a Stream. He measures execution time, allocated memory and GC collection counts on a file with one million records. The results matter if your high-traffic endpoints deserialize big request bodies.

.NET 10 Runtime
Text search with SIMD
DVDEV Community: #csharp Pedro Sakuma Travi Oct 19

How ReadOnlySpan<char>.IndexOf finds a substring with SIMD

This article walks through how the .NET 10 runtime's ReadOnlySpan<char>.IndexOf finds a substring using SIMD vector instructions. The author compares it with a naive loop in a BenchmarkDotNet run and explains where the speed difference comes from. It is a useful deep dive for developers who care about string search performance.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message