Top all-time · #10086
Adam Sitnik
Personal blog · adamsitnik.comprogrammingsystems
Adam Sitnik's personal blog at adamsitnik.com covers programming and systems. Since 2017, 8 different Hacker News readers have linked it 9 times. The last post was in 2023, but the archive is still widely read.
Too few sampled comments (3) to say how often HN recommends it.?
Why HN links it
HN readers link Adam Sitnik's blog for C# and .NET performance writing on Span<T>, with examples and benchmarks, and on array pooling as a way to reduce garbage collection cost.
Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
.NET Performance and Reliability
What Hacker News says?
Span<T> was recently added to C# 7.2 https://blogs.msdn.microsoft.com/dotnet/2017/11/15/welcome-t... , and the early proposal was discussed a bit on HN last year: https://news.ycombinator.com/item?id=12713186 Also this blog post has more examples and benchmarks for people interested: http://adamsitnik.com/Span/
Comment linking /Span/
on “Span<T> in C#”Submitted Disassembling .NET Code with BenchmarkDotNet as a story · 3 points
HN discussionThere are a number of ways to control the GC in comfortable ways in C#. https://adamsitnik.com/Array-Pool/ comes to mind, especially for games. So you can lean into GC when possible, and switch to an unmanaged approach when you are seeing perf issues.
Comment linking /Array-Pool/
on “Emulating Nintendo Switch Games on Linux”Submitted My way of Conducting an Interview as a story · 2 points
HN discussionThere is a lot of good things going on in .NET Core about this. Here is a good description of Span: http://adamsitnik.com/Span/#slicing-without-managed-heap-all...
Comment linking /Span/
on “Allocation is cheap in .NET until it is not”Submitted NET Core – New Memory Diagnoser in BenchmarkDotNet as a story · 2 points
HN discussionSubmitted C# ref returns and ref locals (2017) as a story · 1 points
HN discussionSubmitted Profiling .Net Code with PerfView and Visualizing It with Speedscope.app as a story · 1 points
HN discussionSubmitted Performance investigation using BenchmarkDotNet and PerfView as a story · 1 points
HN discussion