Show HN: The DNA of DOOM – How code structure survives across 44 ports squid-pro...
Show HN @show
Show HN: The DNA of DOOM – How code structure survives across 44 ports squid-protocol.github.io · 4 points · 3 comments · HN thread
TL;DR A Show HN post by Joe Esquibel presenting an interactive article that uses his GitGalaxy structural scanning engine to compare 43 DOOM descendants (ports, source ports and translations into about twenty languages). The engine ignores names and text and matches functions by measured shape and call wiring, and the article claims this recovers ancestry and design structure even in translations where every line changed.
- Chocolate Doom keeps 87% of the original's function names but only 35% of the code inside them; Doom Retro keeps 69% of names and 0.2% of code; GZDoom keeps 32% of names and 0.2% of code.
- The look-alike detector finds copies, with 93% of its matches confirmed as real copies against the text comparison and about two-thirds of all text-found copies caught.
- Unrelated C programs (Quake, Quake II, Lua) share between 0 and 0.6% of DOOM's shape, while Chocolate Doom shares 31%.
- In a blind test, names and paths hidden, the engine places 60% of a Go translation's functions into the correct one of 16 game parts versus 20% for shuffled labels; scrambling the call wiring drops this to 39%.
- Scheme and Go translations keep the original's part-to-part call wiring well above chance; Fortran, Java, Kotlin and C# translations keep none.
- The page is supported by the GitGalaxy scanner repository, which claims local, dependency-free operation and reports structural and accuracy benchmarks.
Links in the post
- GitGalaxy repository: The author's open scanning engine (PolyForm Noncommercial) that extracts language-agnostic structural signals, with benchmarks, a translator and validation documents.
Discussion The thread is very small, with three comments. One commenter says the premise could be interesting but the article reads as generated filler. The author replies twice: first noting the repo holds the full methodology and data, describing the voice as a plain description of data, and then expressing discouragement and asking for constructive criticism. The mood is dismissive on one side and defensive on the other, with little substantive technical discussion of the DOOM analysis itself.
- Interesting premise, but the writing reads as AI-generated slop (some): One commenter likes the idea of comparing code shape across DOOM ports but says the article's prose feels machine-generated and undermines it.
- Voice is fine; it is a straightforward data description (a few): The author argues the writing is a plain, direct description of the data and that the full methodology is in the repository for scrutiny.
- Author is discouraged and asks for constructive criticism (a few): The author says he worked hard on the piece, feels low about the response, and invites specific criticism from commenters.
#DOOM #codeAnalysis #showHN #structuralAnalysis #softwareHistory