New

The latest blog posts to take off on Hacker News. 81,031 posts.

Any topic
Any year
41352

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…

41362

Translating Quake 3 into Rust

The Rust-loving team at Immunant has been hard at work on C2Rust, a migration framework that takes the drudgery out of migrating to Rust. Our goal is to make safety improvements to the translated Rust automatically where we can, and help the programmer do the same where we cannot. First, however, we have to build a…

41368

Pegasus Mail, 30 Years On

Sometime in the last two weeks of 1989, I sent myself an e-mail message: I no longer have it, unfortunately — it was lost in one of many system switches or crashes that happened in those early days... But it was the first message sent by a small MS-DOS application I had written, which at the time was called "ComNet…