Best of 2020

The blog posts Hacker News loved most in 2020. 5,567 posts.

Any topic
4193

AWS EC2 General Price Cut

It is my great pleasure to tell you about a price reduction for Amazon Elastic Compute Cloud (Amazon EC2) customers who plan to use Standard Reserved Instances or EC2 Instance Saving Plans. The price changes are already in effect, and so anyone buying new RIs or a new EC2 Instance Saving Plan will be able […]

4197

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…

4198

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…