DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>

217 · · April 21, 2026, 10:39 a.m.
C#;Performance .NET Framework Memory Management ReadOnlySpan<T> Performance Optimization
Summary
This blog post discusses a method for optimizing memory management in .NET Framework by removing static byte[] allocations and utilizing ReadOnlySpan<T>. It includes an exploration of the intermediate language (IL) related to these changes and an analysis of potential risks involved.
Read full post on andrewlock.net →
MORE POSTS LIKE THIS
Avoiding large stack frames by passing &mut self instead of self
Users Rust Lang · Jul 26, 2026
Rust Programming Performance Optimization
Optimizing LLVM's bump allocator
MaskRay · Jun 28, 2026
LLVM performance
GPUArmor: A Hardware-Software Co-design for Efficient and Scalable Memory Safety on GPUs
Research Nvidia · Jun 25, 2026
GPU Safety Memory Management
Episode 59 “Java *is* Memory Efficient” [AtA]
openjdk · May 28, 2026
gc performance
Accessing derived-data type array components via pointers
Fortran Lang Discourse · Apr 23, 2026
Fortran object oriented programming
Optimize PyTorch training with the autograd engine
Red Hat · Mar 3, 2026
pytorch autograd
Discover more posts →
AUTHOR
BLOG POST FEATURED ON

Placeholder image
r/dotnet

130 points

Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google