Topics
Follow your own topics →
DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
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 now → Learn more
TOPICS

Why not store the SAFEARRAY reference count as a hidden allocation next to the SAFEARRAY?

1 · Raymond Chen · Jan. 30, 2026, 11:14 p.m.
Old New Thing Code SAFEARRAY Memory Management Performance Optimization software development
Summary
The blog post discusses the concept of storing the SAFEARRAY reference count alongside the SAFEARRAY as a hidden allocation, potentially offering insights into memory management and performance in software development. It references a case titled 'Bring your own SAFEARRAY' and is linked to The Old New Thing blog.
Read full post on devblogs.microsoft.com →
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
Allocating on the Stack
Go · Feb 27, 2026
Memory Management Stack vs Heap Allocations
Making `wc` 20x faster with parallel state machines
aarol.dev · Jul 20, 2026
Performance Optimization Unix Commands
There's always a niche: rawzip and the cost of ergonomics
Nickb · Jul 18, 2026
Rust zip library
Make Long-Running NVIDIA TensorRT Engine Builds Observable and Cancelable in Python or C++
NVIDIA Corporation · Jul 22, 2026
Agentic AI / Generative AI Developer Tools & Techniques
Connection Pooling for Onyx AI
bitExpert AG · Jul 17, 2026
AI onyx
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google