Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 653 posts.
The Worst API Ever Made?
A call-by-call look at context switch logging with the Event Tracing for Windows API.
Writing C in Cython
For the last two years, I’ve done almost all of my work in Cython. And I don’t mean, I write Python, and then “Cythonize” it, with various type-declarations etc. I just, wri…
Welcome, New Emacs Developers
Emacs switched the version control system from Bazaar to git yesterday, so now is the time to start hacking away at Emacs. Emacs: The Best Thing Since Sliced Bread If It Wasn’t For The Fact T…
Revenge of the Types
Some notes about what appears to be current trend of programming languages and my thoughts about it.
Why composition is often better than inheritance
An important question in code structure is whether to make classes work together through composition or inheritance. The "has a" relationshi...
Icdiff: side-by-side command line diffs
Your terminal can display color, but most diff tools don't make good use of it. By highlighting changes, icdiff can show you the differences between similar files without getting in the way. This is especially helpful for identifying and understanding small changes within existing lines.
Starting to Demo the Wolfram Language [video]
Stephen Wolfram introduces the Wolfram Language, with overview and demonstrations, in a video showing the power of this symbolic programming language.
Introductions to advanced Haskell topics
Tour of watershed posts and papers for Haskell
Java Doesn’t Suck
I've been building enterprise Java web apps since servlets were created. In that time the Java ecosystem has changed a lot but sadly many enterprise Java…
Rich Command Shells
Many applications benefit from a mix of a graphical and textual interface. This has ranged from entire environments, like the Lisp Machine and the follow-on Common Lisp Interface Manager (CLIM), to specific applications like Mathematica and others which employ a "notebook interface". There have also been various…
RTFM 0day in iOS apps
DIN INFO IP Adresse ( IPv4 eller IPv6) 104.165.132.197 Port: 47376 Hostnavn: 104.165.132.197 X-Forward IP Adresse(r): Browser (UserAgent): Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36 Forespørgsels Timestamp (Unix tid): 1793882617 Forespørgsels…
Common LibreSSL porting mistakes
The other day I wrote an article discussing LibreSSL , and the common mistakes being made by those thinking they know how to port it to oth...
An Experimental New Type Inference Scheme for Rust
While on vacation, I’ve been working on an alternate type inference scheme for rustc. (Actually, I got it 99% working on the plane, and have been slowly poking at it ever since.) This scheme simplifies the code of the type inferencer dramatically and (I think) helps to meet our intutions (as I will explain). It is…
GitHub dropped Pygments
My first-ever open source contribution, a couple years ago, was to a project called Pygments. My motivation? GitHub was displaying Racket source code poorly. Pygments didn't have a Racket lexer. GitHub was using a Scheme lexer for Racket code. The Scheme ...
Learning to Code vs Learning Computer Science
It's always very tricky when people who aren't educators start banging on about what should or shouldn't be taught in schools. My own school days are but a hazy memory of hormones, angst, and boring homework. Yet here I am, pontificating. With the current "fad" of encouraging children to learn to code, I thought I…
Why your first Rust FizzBuzz implementation may not work
An exploration into some initially surprising but great parts of Rust (though you still may not like them).
The Lava Layer Anti-Pattern
TL:DR Successive, well intentioned, changes to architecture and technology throughout the lifetime of an application can lead to a fragmente...
Implementing a web server in a single printf() call
A guy just forwarded a joke that most of us will already know Jeff Dean Facts (also here and here). Everytime I read that list, this part stands out: Jeff Dean once implemented a web server in a single printf() call. Other engineers added thousands of lines of explanatory comments but still don't u