正在加载视频...

视频加载失败

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 次观看 • 1 年前 •via X (Twitter)

11 条评论

A Flock of Meese 的头像
A Flock of Meese1 年前

Second clip:

A Flock of Meese 的头像
A Flock of Meese1 年前

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 的头像
CodeRed1 年前

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

A Flock of Meese 的头像
A Flock of Meese1 年前

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 的头像
Dylan Falconer1 年前

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 的头像
Joshua Justice Enterprises1 年前

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 的头像
A Flock of Meese1 年前

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 的头像
Bhad1 年前

This is a crazy awesome project! Love the updates.

Nikao 的头像
Nikao1 年前

Sounds insane, and impressive. Fantastic work!

Nick Ignatenko 的头像
Nick Ignatenko1 年前

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 的头像
A Flock of Meese1 年前

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

相关视频