<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>André Leite</title><description>A blog about low level and game engine programming.</description><link>https://andreleite.com/</link><item><title>Implementing Defer in C++</title><link>https://andreleite.com/posts/2025/cpp/implementing-defer-in-cpp/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/cpp/implementing-defer-in-cpp/</guid><description>Implementing a Go-style defer mechanism in C++</description><pubDate>Fri, 28 Nov 2025 20:00:00 GMT</pubDate></item><item><title>Taming Time in Game Engines</title><link>https://andreleite.com/posts/2025/game-loop/fixed-timestep-game-loop/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/game-loop/fixed-timestep-game-loop/</guid><description>A deep dive into fixed timesteps and floating point determinism.</description><pubDate>Mon, 24 Nov 2025 22:00:00 GMT</pubDate></item><item><title>Work-Stealing Deque Part 4: The Lock-Free Thief</title><link>https://andreleite.com/posts/2025/deque/work-stealing-deque-part-4-lock-free-thief/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/deque/work-stealing-deque-part-4-lock-free-thief/</guid><description>Completing the lock-free deque with the `steal` operation. We look at how thieves safely race against the owner and how to integrate this into a robust scheduler.</description><pubDate>Mon, 29 Sep 2025 19:00:00 GMT</pubDate></item><item><title>Work-Stealing Deque Part 3: The Lock-Free Owner</title><link>https://andreleite.com/posts/2025/deque/work-stealing-deque-part-3-lock-free-owner/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/deque/work-stealing-deque-part-3-lock-free-owner/</guid><description>Implementing the lock-free `push` and `pop` for the deque owner, handling cache alignment, and managing the race condition when the queue becomes empty.</description><pubDate>Mon, 29 Sep 2025 17:00:00 GMT</pubDate></item><item><title>Work-Stealing Deque Part 2: Memory Ordering</title><link>https://andreleite.com/posts/2025/deque/work-stealing-deque-part-2-memory-ordering/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/deque/work-stealing-deque-part-2-memory-ordering/</guid><description>Moving beyond locks requires understanding how CPUs reorder instructions. We explore atomics, acquire/release semantics, and the illusion of sequential execution.</description><pubDate>Sun, 28 Sep 2025 22:00:00 GMT</pubDate></item><item><title>Work-Stealing Deque Part 1: The Problem with Locks</title><link>https://andreleite.com/posts/2025/deque/work-stealing-deque-part-1-locks-and-contention/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/deque/work-stealing-deque-part-1-locks-and-contention/</guid><description>Why a central task queue becomes a bottleneck, how false sharing kills performance, and building a baseline implementation with locks.</description><pubDate>Sun, 28 Sep 2025 11:30:00 GMT</pubDate></item><item><title>Memory Magic Part 4: The Infinite Buffer</title><link>https://andreleite.com/posts/2025/nstl/virtual-memory-ring-buffer/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/nstl/virtual-memory-ring-buffer/</guid><description>Using virtual memory to create a seamless ring buffer with no wrap-around logic.</description><pubDate>Sat, 09 Aug 2025 15:00:00 GMT</pubDate></item><item><title>Memory Magic Part 3: The Specialist&apos;s Toolkit</title><link>https://andreleite.com/posts/2025/nstl/virtual-memory-pool-allocator/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/nstl/virtual-memory-pool-allocator/</guid><description>Building specialized allocators: free lists, packed arrays, and slot maps with generational handles.</description><pubDate>Sat, 12 Jul 2025 09:00:00 GMT</pubDate></item><item><title>Memory Magic Part 2: The Arena Allocator</title><link>https://andreleite.com/posts/2025/nstl/virtual-memory-arena-allocator/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/nstl/virtual-memory-arena-allocator/</guid><description>Building an Arena: a private memory block where allocation is instant and entire classes of bugs disappear.</description><pubDate>Fri, 04 Jul 2025 19:00:00 GMT</pubDate></item><item><title>Memory Magic Part 1: The Pointer is a Lie (A Dive into Virtual Memory)</title><link>https://andreleite.com/posts/2025/nstl/virtual-memory-explained/</link><guid isPermaLink="true">https://andreleite.com/posts/2025/nstl/virtual-memory-explained/</guid><description>How your computer runs multiple programs without them corrupting each other.</description><pubDate>Sat, 21 Jun 2025 17:00:00 GMT</pubDate></item></channel></rss>