frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•7mo ago

Comments

panstromek•7mo ago
Nice list. Some of those are arguably not accidental, TypeScript type system seems kinda obvious to be turing complete when it tries to describe dynamically typed langauage.
WalterGR•7mo ago
x86 MOV instruction: “The mov-only DOOM [game] renders approximately one frame every 7 hours, so playing this version requires somewhat increased patience.”
a_cardboard_box•7mo ago
Rule 110 is only Turing-Complete if you have an infinitely large array of cells, and are able to initialize it with an infinite repeating pattern. If I'm not mistaken, HTML+CSS can only do a fixed-sized array.

With a Turing-Complete language, if a program runs out of memory on one machine, you can run the same code on a bigger machine without modifying it, and it can use the additional memory. With fixed-length rule 110, you need to modify the code if you want to use more memory.

256_•7mo ago
This is addressed in the second paragraph of TFA:

"Stuff which is somehow limited (stack overflows, arbitrary configuration, etc) is still considered Turing complete, since all "physical" Turing machines are resource limited."

In my opinion, worrying about infinite memory, in regards to Turing completeness, makes the task of implementing computation much less interesting.

Also, I'm pretty sure CSS only does one generation (or a finite number of them) before stopping anyway.

256_•7mo ago
Logic in Doom is particularly interesting to me. Apparently you can fit ~64k logic gates in a map (using the method described). From [1]:

"As the DOOM engine was not designed to be an interpreter, there are some constraints on our programs written against it. The biggest one is how large our programs can be. Since each gate uses at least one tag, we can use this as a metric to derive an upper-bound on the size of a program. As the DOOM engine uses 16-bit tags, this means we can have, at most, 65535 gates. This is not a particularly large number. We may be able to implement a very small CPU but this limit will be hit pretty quickly I believe."

The z80 had ~8,500 transistors. The 8086 had ~29,000 (checking Wikipedia). You could get far fewer if you use a 1-bit microarchitecture, I'm sure. I think there was a DEC (PDP?) computer that used that trick to have a really low transistor count, but I don't remember what it was called.

The real problem is RAM; for this you may as well cheat and modify Doom's code to add a RAM chip, and I/O while you're at it.

You could create a CPU in Doom implementing an architecture for which a C compiler exists, capable of compiling Doom, and run it in the CPU in Doom. For "reasonable" speed you'd have to do more than one simulation step per frame render (in the host Doom). If you ran it for long enough maybe you could get a full frame of Doom in Doom.

[1]: https://calabi-yau.space/blog/doom.html

karmakaze•7mo ago
Doom running in TypeScript static type checker[0].

> half trillion lines of types totaling 177 terabytes ran through the type checker around the clock for 12 days to get the first frame

[0] https://news.ycombinator.com/item?id=43184291

karmakaze•7mo ago
My favorite one is Conway's Game of Life. It's perhaps the least surprising one, but it's also the most visually appealing. Really like this video that leads up to making the Game of Life in itself[0]. It's something you can show a non-technical person and they can get a sense of how crazy it is that something so simple can do anything.

[0] https://www.youtube.com/watch?v=Kk2MH9O4pXY

AI doesn't add up if you neglect the mathematicians

https://www.ft.com/content/b05318d1-12e5-49f1-9950-47e8b0f809ae
1•1vuio0pswjnm7•1m ago•0 comments

Show HN: FastLanes based integer compression in Zig

https://github.com/steelcake/zint
1•ozgrakkurt•1m ago•0 comments

Show HN: Free Online detection and content quality assurance tool

https://mydetector.ai/
1•Pratte_Haza•3m ago•0 comments

How the Firefox desktop launcher works

https://support.mozilla.org/en-US/kb/firefox-desktop-launcher
2•josephcsible•4m ago•1 comments

The Joy of Walking [video]

https://www.youtube.com/watch?v=WOqKR75Y7h4
1•lopespm•4m ago•0 comments

Russia's only active launch pad for cosmonauts is damaged

https://www.space.com/space-exploration/international-space-station/russias-only-launch-pad-for-c...
1•geox•5m ago•0 comments

15 Years Ago, UFO Sightings Rocked a Small Texas Town. The Mystery Remains

https://www.vice.com/en/article/netflix-encounters-messengers-stephenville/
1•handfuloflight•5m ago•0 comments

Ask HN: Which large model works best?

1•jsxyzb•11m ago•0 comments

Show HN: Scrappy Free AI Code Assistant

https://github.com/HakAl/scrappy
1•UmGuys•11m ago•0 comments

Uniform standards for wooden pallets [pdf]

https://www.goodwinrobbins.com/images/resources/wood_pallets_std_2012.pdf
3•WorldPeas•17m ago•1 comments

Multicore Fiber MCF Connectors (LC/SC) – HYC

https://www.hyc-system.com/Product/index_200/9437
2•hycsystembella•18m ago•1 comments

Swiss government says give M365, and all SaaS, a miss as it lacks E2EE

https://www.theregister.com/2025/12/01/infosec_news_in_brief/
3•Bender•24m ago•0 comments

Show HN: Reporters.io – Find and Connect with the Right Journalists

https://reporters.io/
1•qwikhost•25m ago•0 comments

Abused code-signing certificate country by issue date

https://public.flourish.studio/visualisation/26530966/
2•walterbell•26m ago•1 comments

In Re: 23andMe, Inc. Customer Data Security Breach Litigation

https://www.23andmedatasettlement.com/
33•toomuchtodo•27m ago•5 comments

Oxford Word of the Year 2025 is rage bait

https://corp.oup.com/news/the-oxford-word-of-the-year-2025-is-rage-bait/
1•ChrisArchitect•28m ago•2 comments

Tesla faces class action over Powerwall recall that leaves people bricked

https://electrek.co/2025/11/27/tesla-class-action-over-powerwall-recall-bricked-batteries/
3•Bender•29m ago•0 comments

French Soccer Federation Hit by Cyberattack, Member Data Stolen

https://www.securityweek.com/french-soccer-federation-hit-by-cyberattack-member-data-stolen/
1•Bender•30m ago•0 comments

Building a Copying GC for the Plush Programming Language

https://pointersgonewild.com/2025-11-29-building-a-copying-gc-for-the-plush-programming-language/
1•ibobev•33m ago•0 comments

Human-Scale vs. Asymmetric Social Media

https://pointersgonewild.com/2023-12-24-toxic-by-design-human-scale-vs-asymmetric-social-media/
2•ibobev•33m ago•0 comments

Generating Cats using binned Gaussian Splats

https://aschrein.github.io/jekyll/update/2025/11/30/generating_cats3.html
1•ibobev•33m ago•0 comments

Show HN: Martial Lint – improve Chinese Wuxia novel translations with LLMs

https://github.com/venkr/martial-lint
1•venkii•42m ago•1 comments

Regarding Thien-Thi Nguyen

8•SmolCloud•47m ago•0 comments

PatchDNA: Flexible and Biologically-Informed Alternative to Tokenization for DNA

https://www.biorxiv.org/content/10.1101/2025.11.28.691095v1
1•mapmeld•50m ago•0 comments

Building real software with Gemini 3 Pro

https://www.augmentedswe.com/p/coding-with-gemini-3-pro
1•wordsaboutcode•53m ago•0 comments

Earth Coastlines Through Time

https://mapsmania.github.io/mapchallenge/earth.html
1•gmays•59m ago•0 comments

Hytale Creative Mode: Building the Future of Creative Servers

https://hytaletop100.com/blog/hytale-creative-mode-building-the-future-of-creative-servers
2•doobie12•1h ago•0 comments

Advent of Sysadmin 2025

https://sadservers.com/advent
27•lazyant•1h ago•6 comments

The End of the Train-Test Split

https://folio.benguzovsky.com/train-test
5•BenGuz•1h ago•0 comments

Epsilon: A WASM virtual machine written in Go

https://github.com/ziggy42/epsilon
1•ziggy42•1h ago•0 comments