Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,267 posts.

Any topic
Any year
34075

Done, and Gets Things Smart

First off, I'm calling for a moratorium on Simpsons references until the writers over there are Done, and gets things funny . Secondly, is it possible to cluster DGTSers? Can they recognize each others' brilliance and form into a sort of hive mind, or do they end up abrading one another with slight differences?…

34078

Fibers, Oh My

Fibers, Oh My! # Written by Dale Weiler, last updated Oct 5th, 2020 Twitter GitHub It’s been brought to the attention of many people in the game development industry that you can use fibers to parallelize your engines and games. This one presentation in particular: Parallelizing the Naughty Dog engine using fibers has…

34080

Finding unique items: hash vs. sort

A while back, I was trying to speed up some code which finds unique items in a collection. For example, transforming "AABBADCAB" => "ABDC" . There are two ways to do this efficiently - one is based on sorting, the other based on hashing. So, which is faster? I couldn't find the answer, so I ran some experiments and…