This is PG Gaming
- I just want to make a good game
- But making games is hard
- So, here’s a place to document and store the things I do for my own sanity
- Hopefully, others find this stuff useful too
-
Making a Parallel Hash Map. Should you even try?
A lot of people have tread this ground before, is there really anything left to add? There’s a lot of open source hash map implementations out there already. For example, here’s a fairly comprehensive benchmark on a bunch of them: Comprehensive Hash Map Benchmark. That benchmark compares insert, erase, and lookup performance across 15 different… Read more
-
Making a Spin Lock, should you even try?
Why shouldn’t you write your own spin lock implementation There’s a really good post by Linus Torvalds on why you shouldn’t do it, you can find that here: Link. But if you don’t really want to read that post, it can be summarized as follows: Why we’re doing it anyway Because we don’t need a… Read more
Follow My Blog
Get new content delivered directly to your inbox.