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

32

Duke Nukem 3D Code Review

Since I left my job at Amazon I have spent a lot of time reading great source code. Having exhausted the insanely good idSoftware pool , the next thing to read was one of the greatest game of all time : Duke Nukem 3D and the engine powering it named " Build ". It turned out to be a difficult experience: The engine…

34

Revisiting the Business Card Raytracer

What is the most beautiful piece of code you have ever seen? Not only it is subjective, "beauty" is also a word that can mean a lot of things. If we were to be discussing of raw speed, I would bring up the Fast Inverse Square Root [1] . If we were to judge by aesthetic, my answer would be Andrew Kensler's, 1337 bytes…

35

Build Doom3 on MacOSX with XCode4

The source code of Doom3 has been released three days ago :) ! I have started to read it and I will probably write a code review if enough people are interested. According to the README.txt the source code is building well with Visual Studio 2010 but it is not building at all on Mac OS X with XCode 4.0 ( it is…

37

Driving Compilers

I remember how pleasant it was to learn to program in C. There were so many good books explaining not only the language but also the standard library. I devoured both The C Programming Language (K&R) by Kernighan/Ritchie and The Standard C Library by P.J. Plauger. Then came Expert C Programming by Van der Linden and…

38

0xF Rules

I have been writing articles on this website for twelve years. If you were to look at the early versions , you would think it is a fresh-out-of-school project with icons drawn in Microsoft Paint. And that is exactly what it was. The site started in a world before smartphones and tablets at a time where Apple products…

39

Why WinQuake exists and how it works

When I took a look at the history of Quake binaries, they all made sense to me. quake.exe was the original release, able to run on DOS and Windows 95. Then came vquake.exe to support the hardware accelerated chip Vérité 1000. Later, glquake.exe generalized hardware acceleration to any vendor providing OpenGL drivers…

43

Git Source Code Review

Since its release in December 2005, git has taken over the software industry. In combination with GitHub it is now a powerful tool to publish and share code: From big teams ( linux kernel , id Software , Epic Unreal ) to single individual ( Prince of Persia , Another world , Rick Dangerous ), many have adopted it as…

45

Quake Engine source review

I happily dove into Quake World source code . Here is what I understood, hopefully it will help someone to swim. This article is in four parts : Architecture section Network section Prediction section Rendition section

46

Quake 3 Source Code Review

Since I had one week before my next contract I decided to finish my "cycle of id". After Doom , Doom Iphone , Quake1 , Quake2 , Wolfenstein iPhone and Doom3 I decided to read the last codebase I did not review yet: idTech3 the 3D engine that powers Quake III and Quake Live . The engine is mostly an evolution of…

48

Reverse Engineering Strike Commander

Back in the early 90s, one company was on the bleeding edge of PC gaming: Origin Systems . Their motto was "We Create Worlds" and boy did they deliver: With the Ultima series, Crusader series and Wing Commander series, they consistently took gamer's breath away. One of them took four years and more than a million man…

49

The Computer Graphics Library

Back in the 90s, one book was ubiquitous in the world of Computer Graphics. Commonly called "The CG Bible", Computer Graphics: Principles and Practice gathered a huge part of the knowledge of the time. It was commonly referenced by the best programmers of that era in interviews and articles . By 1998, the book…

50

Game Engine Black Book: Wolfenstein 3D

How was Wolfenstein 3D made and what were the secrets of its speed? How did id Software manage to turn a machine designed to display static images for word processing and spreadsheet applications into the best gaming platform in the world, capable of running games at seventy frames per seconds? If you have ever asked…

53

Wolfenstein 3D for iPhone engine code review

For once, developers were able to read the source code of an id software product just a few days after its release. I spent a week in my spare time reading the internal of the Wolfenstein 3D for iPhone engine. It is by far the cleanest and easiest id source code release to date. This review is far from being…

54

Game Engine Black Book: Wolfenstein 3D, 2nd Edition

The Game Engine Black Book Wolfenstein 3D, 2nd Edition has shipped. It is available at the following locations: - Amazon ( US , UK , FR , CA , and many more). - Google PlayStore ( here ). All errata which readers kindly took the time to report have been addressed. Adrian Carmack has retired from anything related to id…