DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
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
Privacy Policy
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Swapping two blocks of memory that reside inside a larger block, in constant memory

· Raymond Chen · Jan. 1, 2026, 3:10 p.m.
Old New Thing Code software development Memory Management programming techniques
Summary
This blog post discusses a variation of the constant-memory rotation technique for swapping blocks of memory within a larger block.
Read full post on devblogs.microsoft.com →
MORE POSTS LIKE THIS
A Bank Is Now Something You Can Pick Up
Hindsight Blog · Sep 22, 2026
hindsight Agent Memory
Scope pinning `&mut T`
Users Rust Lang · Aug 22, 2026
software development Rust
Swapping matrix names in a loop
Fortran Lang Discourse · Aug 16, 2026
software development Fortran
Ante: A New Way to Blend Borrow Checking and Reference Counting
Evan Ovadia · Jun 28, 2026
programming-languages Mojo Programming Language
Memory Management in C++ by Patrice Roy
Sandordargo · Jun 17, 2026
books C++
A faster Easter date function
Ben Joffe · Nov 10, 2026
software development Algorithm Optimization
Discover more posts →
AUTHOR
BLOG POST FEATURED ON

Placeholder image
Hacker News

3 points

Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google
By continuing, you agree to our Privacy Policy.