Blogs / Personal blogs

Fabien Sanglard

fabiensanglard.net

21/08/2026: My agent.md to improve LLM-assisted code quality 17/08/2026: Quake shareware, a CD just a little too full 13/07/2026: Jurassic Park computers in excruciating detail 11/07/2026: A dock that finally wakes up reliably! 10/07/2026: Don't you meant extinct? 28/06/2026: My favorite keyboards 01/06/2026: The art…

Popular posts
85
Total points
25,061
HN comments
9,003
Rank
#22 personal

Visit fabiensanglard.net → RSS feedOn Hacker News Apr 2009 – Aug 2026

Software Engineering 54Games & Graphics 49Hardware & Electronics 19History & Retro Computing 12Systems & Performance 9Tools & Productivity 7

3

A Linux Evening

I love to have Linux as my main OS. For someone who spends most of his time programming, writing HTML, writing LaTeX, and browsing the net, it is nearly a perfect tool. Packages are one "apt install" away. Mounting my website is one sshfs away and with private key authentication I don't even have to type my password…

4

The Polygons of Another World

There is a playful way to study the architecture of computers of the past. Find a piece of software you know well and try to find out how it was ported to these machine you don't. A good choice would be DOOM. id Software's 1994 mega-hit has been ported to everything. It is designed around a core with no layering…

5

Why fastDOOM is fast

During the winter of 2024, I restored an IBM PS/1 486-DX2 66Mhz, "Mini-Tower", model 2168. It was the computer I always wanted as a teenager but could never afford. Words cannot do justice to the joy I felt while working on this machine.

6

How DOOM fire was done

The Game Engine Black Book: DOOM features a whole chapter about DOOM console ports and the challenges they encountered. The utter failure of the 3DO, the difficulties of the Saturn due to its affine texture mapping, and the amazing "reverse-engineering-from- scratch" by Randy Linden on Super Nintendo all have rich…

7

FizzleFade

I enjoy reading a lot of source code and after 15 years in the field I feel like I have seen my fair share. Even with a full-time job, I still try to spare evenings here and there to read. I don't see myself ever stopping. It is always an opportunity to learn new things to follow somebody's mind process. Every once in…

9

Inside the Super Nintendo cartridges

One of the remarkable characteristics of the Super Nintendo was the ability for game cartridges (cart) to pack more than instructions and assets into ROM chips. If we open and look at the PCBs, we can find inside things like the CIC copy protection chip, SRAM, and even "enhancement processors".

12

Quake Shareware, a CD-ROM just a little too full

In the mid-90s the coolest thing to buy for a PC, besides the incredibly expensive Intel Pentium , was a CD-ROM drive . With their capacity of 640 MiB (three times the storage of PC HDD at the time), CDs allowed enthusiasts to step into a world of multimedia, made of high-resolution 640x480 256 colors palette-indexed…

13

The 3dfx Voodoo1

This article is the second entry in a series about the "3D cards of the late 90s running Quake". The first entry [1] took a look at the end of 1996 with the Rendition Vérité 1000 and its dedicated port called vQuake. Rendition had managed to beat everybody to Quake-market. For a brief period of time they had the one…

14

Floating Point Visually Explained

While I was writing the Wolfenstein 3D book [1] , I wanted to demonstrate how much of a handicap it was to work without floating points. My attempts at understanding floating points using canonical [2] articles [3] were met with resistance from my brain. I tried to find a different way. Something far from $(-1)^S *…

16

All you may need is HTML

Readers occasionally request which static HTML generator is used by fabiensanglard.net , and if they can take the same stylesheet/ fonts to start their own blog. I usually send back the whole 134 lines of gen.php [1] and invite them to copy whatever they need to get started [2] .

18

Commander Keen's adaptive tile refresh

I have been reading Doom Guy by John Romero. It is an excellent book which I highly recommend. In the ninth chapter, John describes being hit by lightning upon seeing Adaptive Tile Refresh (ATR). That made me realize I never took the time to understand how this crucial piece of tech powers the Commander Keen (CK)…

22

Mjolnir

As much as I loved the beautiful machine , the passive cooling and form factor of the DB4 chassis had limitations. The best GPU I could fit in (and cool down), a 1050 Ti, barely managed to run Diablo 2 Resurrected. Playing could become unpleasant at 30fps in busy levels!

23

To become a good C programmer (2011)

Every once in a while I receive an email from a fellow programmer asking me what language I used for one of my games and how I learned it. Here is an entry that list the best things to read about C. If you know of other gems, please email me or add a comment at the bottom of the page.

24

The Game Engine Black Book: Doom

The Game Engine Black Book: DOOM is now available for purchase. It is being released exactly 25 years after DOOM.zip was first published on the University of Wisconsin FTP server in December 1993. You can get it at the following locations: - Amazon ( USA , France , UK , and many more). - Google Books ( here with no…

25

Deciphering the Business Card Raytracer

I recently came across Paul Heckbert's business card raytracer. For those that have never heard of it: It is a very famous challenge in the Computer Graphics field that started on May 4th, 1984 via a post on comp.graphics by Paul Heckbert ( More about this in his article " A Minimal Ray Tracer " from the book Graphics…

26

Quake 2 Source Code Review

I spent about a month in my spare time reading the source code of Quake II. It was a wonderful learning experience since one major improvement in idTech3 engine was to unify Quake 1, Quake World and QuakeGL into one beautiful code architecture. The way modularity was achieved even though the C programming language…

27

How the Dreamcast Copy Protection Was Defeated

After I shipped the DOOM Black Book , I took some vacation in Japan where I was able to play Ikaruga on a real arcade at Taito HEY in Akihabara. The experience reignited my interest in SEGA's ultimate video game console, the Dreamcast. There is a lot of documentation available online which made the studying process…

28

Quake 3 Source Code Review: Network Model (2012)

The network model of Quake3 is with no doubt the most elegant part of the engine. At the lower level Quake III still abstract communications with the NetChannel module that first appeared in Quake World . The most important thing to understand is: In a fast paced environment any information that is not received on…

30

These are called opportunities

Yesterday Apple updated three of their machines. During the announcement, it was revealed that the MacBook Air, the MacBook Pro 13", and the Mac Mini would now be running on M1 SoCs. These "One more thing..." events usually comes with raving numbers and this one did not diverge from the tradition.