Skip to content
Tech News
← Back to articles

Developer details 'double headed stack allocator' technique from Surreal Software's cancelled game

read original get Game Engine Architecture (book by Jason Gregory) → more articles
GoKawiil Brief

A programmer who worked on animation systems for the cancelled open-world title 'This is Vegas' at Surreal Software (Midway Seattle) around 2010 describes a memory management technique called a stack allocator, also known as a bump allocator. The method pre-allocates a fixed block of memory and uses a simple integer pointer to track allocation and deallocation, replacing costly dynamic memory calls that had become a profiling bottleneck in per-frame animation blending.

Why It Matters

GoKawiil's interpretation of the reporting above, not reported fact.

The technique illustrates a common pattern in performance-critical software like video games, where avoiding expensive general-purpose memory allocation can eliminate hotspots identified through profiling. By sharing implementation details from a real production codebase, the post could serve as a practical reference for other engine or systems programmers facing similar transient-allocation problems.

Key Takeaways
Worth a Look

Game Engine Architecture (book by Jason Gregory) — If you're into the nitty-gritty of custom allocators, animation blending, and performance tricks like this double-headed stack allocator, this book is a fantastic deep dive into how real game engines handle memory and systems architecture. It's a great companion for programmers wanting to understand the engineering decisions behind the scenes of titles built under tight performance constraints.

See Game Engine Architecture (book by Jason Gregory) on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.

Source: blog.demofox.org, 2026-10-15

Published there as: “The Double Headed Stack Allocator”

Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.