Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 1,020 posts.

2021
93

Wuffs’ PNG image decoder

Summary: Wuffs’ PNG image decoder is memory-safe but can also clock between 1.22x and 2.75x faster than libpng , the widely used open source C implementation. It’s also faster than the libspng , lodepng and stb_image C libraries as well as the most popular Go and Rust PNG libraries. High performance is achieved by…

96

How the .NET Foundation kerfuffle became a brouhaha

After I wrote most of this blog post the night of October, 5th 2021 I wasn't sure I would post it. After the events of the last 36 hours, I felt I needed to capture my experience on my website where it can only be edited by me. After reading this, I hope you will have a clear set of datapoints from my point of view…

97

The fish shell is amazing

I’ve been lurking the fish shell for a couple of years now (and the nushell but it is another story for another time). Not so long ago, I decided to try it, and it’s simply… amazing. If I had to state one feature that makes me like to use it, it’ll be the autocompletion, hands down. It’s the first time I just take a…

99

Gentle introduction to GPUs inner workings

This article summarizes some lower level aspect of how GPU executes. Although GPU programming is not that complicated when compared to CPU, it also doesn’t match to what hardware is doing exactly. The reason is that we can’t just program GPU without some API, which is an abstraction over its inner workings. Since few…

101

Let's code a TCP/IP stack (2016)

Writing your own TCP/IP stack may seem like a daunting task. Indeed, TCP has accumulated many specifications over its lifetime of more than thirty years. The core specification, however, is seemingly compact[^tcp-roadmap] - the important parts being TCP header parsing, the state machine, congestion control and…

103

Maintain It with Zig

No matter what language you program in or what applications you use: everything you do with a computer today is powered at some level by a piece of C/C++ code.

116

Compiling Rust is NP-hard

...though it's not the flagship borrow checking that's at fault. What I noticed, and would like to share with you today, is that the exhaustiveness checking performed by the Rust compiler on match patterns is a superset of the SAT problem.…

118

My Emacs Lisp book is finished

I am very proud to say that after about 10 months of work I finished writing my Emacs Lisp book . If you haven’t heard of it yet, it’s called “Hacking your way around in Emacs” and it is an intermediate-level textbook on Emacs Lisp, showing a lot of useful things on about 100 pages.

120

Designing Low Upkeep Software

It's common for me to get excited about a personal project, put a bunch of time into it, and then lose interest. As much as possible, I want these projects to continue working; upkeep isn't fun. What does designing for minimum maintenance look like? The biggest piece is minimizing your dependencies, and limiting them…