New

The latest blog posts to take off on Hacker News. 49,219 posts.

Any topic
Any year
17222

I Built a Ruby Parser

Sorry, this post will read like a “dear diary” entry rather than some life-changing HN-worthy guidance. Back in November 2020, almost on a whim I started work on a new parser for the Ruby programming language. It was almost exactly a year after I had started working on my compiler project (I hope to write a longer…

17225

Arc and Mutex in Rust

When writing concurrent Rust you will encounter Arc and Mutex types sooner or later. And although Mutex might already sound familiar as it's a concept known in many languages, chances are you haven't heard about Arc before Rust. What's more, you can't fully understand these concepts without tying them to the ownership…

17232

Pixel Art: Common Mistakes (2020)

We've all been there: you learn a few things and it all seems so simple, but when it comes time to make something yourself, it doesn't look right! In this tutorial, we'll start with some "beginner's pixel art" and we'll make edits to it in order to show off some common mistakes and their solutions. One of the hardest…