Skip to content

Adventures in data-oriented design – Part 3b: Internal References

blog.molecular-matters.com
73 pointsarberavdullahu2 comments
On HN

Comments

Generational arenas are really nice. I don't know why they are being discovered only now. Like e.g. graphs implemented using generational arenas play nicely with CPU cache.

For anyone who cares, here's my Rust crate that's like petgraph but with generational arenas.

https://github.com/adamnemecek/pgraph

They’re not new this article is from 2013 for example and the general idea is older still. But I think interest in Rust, the ECS pattern and the associated advantage of easier ownership semantics that handles provide explain their wider popularity.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.