Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von A Flock of Meese
A Flock of Meesevor 1 Jahr

Second clip:

Profilbild von A Flock of Meese
A Flock of Meesevor 1 Jahr

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.

Profilbild von CodeRed
CodeRedvor 1 Jahr

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

Profilbild von A Flock of Meese
A Flock of Meesevor 1 Jahr

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.

Profilbild von Dylan Falconer
Dylan Falconervor 1 Jahr

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

Profilbild von Joshua Justice Enterprises
Joshua Justice Enterprisesvor 1 Jahr

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

Profilbild von A Flock of Meese
A Flock of Meesevor 1 Jahr

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.

Profilbild von Bhad
Bhadvor 1 Jahr

This is a crazy awesome project! Love the updates.

Profilbild von Nikao
Nikaovor 1 Jahr

Sounds insane, and impressive. Fantastic work!

Profilbild von Nick Ignatenko
Nick Ignatenkovor 1 Jahr

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?

Profilbild von A Flock of Meese
A Flock of Meesevor 1 Jahr

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

Ähnliche 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,683 Aufrufe • vor 1 Jahr