Topics /

Software Engineering

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

2016
1172

Intro to Debugging X86-64 Assembly

I’m hacking on an assembly project, and wanted to document some of the tricks I was using for figuring out what was going on. This post might seem a little basic for folks who spend all day heads down in gdb or who do this stuff professionally, but I just wanted to share a quick intro to some tools that others may…

1180

Appending to a file from multiple processes

Suppose you have multiple processes appending output to the same file without explicit synchronization. These processes might be working in parallel on different parts of the same problem, or these might be threads blocked individually reading different external inputs. There are two concerns that come into play:

1198

You Compiled This, Driver – Trust Me

I was incredibly inspired by Tomasz Stachowiak’s hack of GCN . It made me wish I owned a GCN machine of my own to start trying insane things with. On the other hand, I dooo own an Intel Haswell GPU , and they dooo publish some really dense documentation that’s allegedly enough to write a complete driver with.