Loading video...

Video Failed to Load

Go Home

This week, I overhauled concurrent heap defragmentation (akin to garbage collection) in my voxel game, achieving microsecond-level pause times and O(1) scalability across all platforms. Since existing research didn't fit my needs, I built my own defragmentation algorithm from first principles. The new system is a game-changer for the...

38,548 views • 1 year ago •via X (Twitter)

11 Comments

A Flock of Meese's profile picture
A Flock of Meese1 year ago

Second clip:

A Flock of Meese's profile picture
A Flock of Meese1 year ago

The new heap defragmentation system is versatile enough to function as a garbage collector. However, I retained malloc/free semantics as a flexible guideline for the memory manager to use or ignore. This design makes it easy to benchmark my solution against traditional malloc/free and arenas. The results have been encouraging: the algorithm outperforms arenas in memory efficiency and holds its own against malloc/free when it comes to allocation performance.

CodeRed's profile picture
CodeRed1 year ago

I haven't been on twitter for almost a month what did I miss with your game?

A Flock of Meese's profile picture
A Flock of Meese1 year ago

Other than today's update, I've replaced the old Makefiles and messy shell scripts with my custom build system and unit test framework. On top of that, I ported my internal dev tools to Linux. While this work may not sound flashy, it lays the groundwork for more impactful feature updates coming next year.

Dylan Falconer's profile picture
Dylan Falconer1 year ago

This is really awesome! I'm just starting work on a voxel engine and have been thinking about how to do memory management for chunk meshes among other things I was going to go with slab/pool that potentially waste a bunch of memory, but perhaps I should try something like this

Joshua Justice Enterprises's profile picture
Joshua Justice Enterprises1 year ago

Is this tool usable/releaseable in a standalone way so people can look at it and use it for other things?

A Flock of Meese's profile picture
A Flock of Meese1 year ago

Yes, this is a general-purpose memory manager tailored for soft real-time applications. While it's currently proprietary, there are plans to potentially publish a blog post or paper about it in the long-term future.

Bhad's profile picture
Bhad1 year ago

This is a crazy awesome project! Love the updates.

Nikao's profile picture
Nikao1 year ago

Sounds insane, and impressive. Fantastic work!

Nick Ignatenko's profile picture
Nick Ignatenko1 year ago

Really curious what the performance of this algorithm would be like on mobile. But I’m guessing it’s a custom engine with no port…yet?

A Flock of Meese's profile picture
A Flock of Meese1 year ago

If the algorithm works on the Dreamcast, it should have no trouble running on modern mobile platforms.

Related Videos

Actual hardware capture of the latest build of jnmartin's #Doom 64 port to the Sega #Dreamcast, which has now become the definitive, prettiest way to enjoy the title, with its dynamic lighting and bump mapping. SO MUCH NEW SHIT TO TALK ABOUT: First of all, this is the very first game to utilize the brand new "hybrid" vertex submission mechanism we just added to KallistiOS. It was a long, cruel week to get all of the issues there sorted out, but they have been, and it has further boosted the game's performance while under load and is now something the rest of the DC community can utilize in their homebrew. This scene in particular used to lag using the traditional, DMA-based vertex submission mechanism with all of the lights and its higher geometric complexity, but notice it's not even dropping a frame now! Next, support for the Dreamcast's MOUSE and KEYBOARD have been added. These controls play EXTREMELY well and feel like a very smooth, natural way to play the game, if you want the Steam/PC control scheme. Finally... if there is any doubt as to whether the Dreamcast version is actually the definitive way to the play the game, jnmartin now allows you to export the assets from the (LEGALLY PURCHASED, DAMNIT!!!) Steam version, and import them into the Dreamcast version, where you can enjoy the extra bonus levels and campaign with the new and improved graphics! THIS IS NOW PUBLICLY AVAILABLE! The project repository, along with the README with build instructions can be found here: #gamedev #retrogaming #n64

Falco Girgis

39,726 views • 1 year ago

Vintage Editions - a brief history and what’s next. In 2023 I released my first 3 editions on eth. My goal was to create a collection of quality vintage animations, on par with my 1/1 artworks. The reception blew me away, over 4,000 folks registered for two artworks with a total of 175 editions. In 2025 I set a goal to go all in and released 5 more editions throughout the year. Bringing the collection to 340 editions via 8 artworks with a total of 168 holders. Each work in this series can take two weeks and even a month to create as I obsesses on each pixel. I’m very proud of how it turned out. My plan is being consistent and adding to the collection yearly, with enough love and time it will become an epic collection of animated vintage loops. Nothing quite like it in our space. At the beginning of the year I set out to make as much work as I can physically can in 2026. I find that healing. keeping my mind busy while dealing with grief. My notebook is of full of ideas and sketches and once again I’m going all in. Excited to see how this collection shapes up in 2026 along with the new distortions series. This week we kick off this year's Vintage Editions next chapter adding two new pieces and one more via a burn in July. The first piece “Mob Mentality” is a special edition of 7 for select top collectors of mine. Minting tomorrow. The second piece is “Hell of a Time”. A bigger edition that includes a free burn in July. aimed to bring more folks into the series. Minting Wednesday. Full details tomorrow. Thanks for reading! Hope to have you on this journey with me.🖤

Tony Babel

66,394 views • 2 months ago