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•8mo ago

Comments

panstromek•8mo 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•8mo 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•8mo 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_•8mo 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_•8mo 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•8mo 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•8mo 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

This Month in Redox – December 2025

https://www.redox-os.org/news/this-month-251231/
1•Ganipote•1m ago•0 comments

Show HN: Qpost.dev – An open API to post to TikTok, YT, and IG in one place

https://qpost.dev
1•arslan2012•1m ago•0 comments

Enclose.horse Solver

https://dyigitpolat.github.io/enclose-horse-solver/
1•dyigitpolat•3m ago•1 comments

Reverse Engineering Zed's AI Coding Assistant with Mitmproxy

https://dzlab.github.io/genai/2025/06/07/mitmproxy-zed/
1•leobg•4m ago•0 comments

The Stock Market Is Doing Something It's Only Done Twice Since 1871

https://www.aol.com/articles/stock-market-doing-something-only-133500640.html
1•zerosizedweasle•5m ago•1 comments

Coding Essentials for Astronomers

https://tingyuansen.github.io/coding_essential_for_astronomers/
1•pppone•6m ago•0 comments

How do you convert PCAP/PCAPNG to JSON/NDJSON for pipelines?

https://omnvert.com/en/tools/pcap-to-json
1•kaant•8m ago•0 comments

Reconstructability and Auditability of AI Outputs in Regulated Environments

https://zenodo.org/records/18169843
1•businessmate•10m ago•1 comments

Greenland Will Be American

https://isitpropaganda.substack.com/p/greenland-will-be-american
1•throw310822•10m ago•0 comments

Show HN: MotionPoster – static poster to animated poster

https://motionposter.org/
1•kuzej•11m ago•0 comments

Dell announces 52-inch 6K display with Thunderbolt

https://9to5mac.com/2026/01/06/dell-announces-massive-52-inch-6k-display-with-thunderbolt/
1•01-_-•11m ago•0 comments

A Calif. Teen Trusted ChatGPT for Drug Advice. He Died from an Overdose

https://longreads.com/2026/01/06/a-calif-teen-trusted-chatgpt-for-drug-advice-he-died-from-an-ove...
2•microsoftedging•11m ago•0 comments

Kimwolf Android botnet abuses residential proxies to infect internal devices

https://www.bleepingcomputer.com/news/security/kimwolf-android-botnet-abuses-residential-proxies-...
1•01-_-•12m ago•0 comments

Remember this video next time you're arguing with someone on the internet

https://twitter.com/interesting_aIl/status/2008683034879328387
1•keepamovin•19m ago•0 comments

Hacker Dressed as Pink Power Ranger Dismantles Racist Websites Live on Stage

https://www.pcmag.com/news/hacker-dressed-as-pink-power-ranger-dismantles-racist-websites-live-on
2•chha•19m ago•0 comments

Show HN: Shellock, a real-time CLI flag explainer for fish shell

https://github.com/ibehnam/shellock
1•behnamoh•20m ago•0 comments

An Electronic Ising Machine

https://arxiv.org/abs/2512.23720
2•mbowring•21m ago•0 comments

Ask HN: Transition away from embedded SWE due to AI?

1•thawawaycold•22m ago•0 comments

XARA9 – Complete AI Framework running on consumer hardware

https://xara9.com/
2•anantai•39m ago•1 comments

Outward Signs of Inner Mysteries

https://lareviewofbooks.org/article/outward-signs-of-inner-mysteries/
3•prismatic•41m ago•0 comments

Unified Local Observability for AI Coding Assistants

https://ai-observer.dev/
2•tobilg•42m ago•0 comments

State of GPU Hardware (End of Year 2025)

https://asawicki.info/articles/state_of_gpu_hardware_2025.php
3•ibobev•44m ago•0 comments

Why Devs Need DevOps

https://ravestar.dev/blog/why-devs-need-devops/
2•birdculture•45m ago•0 comments

OpenPBR: Novel Features and Implementation Details

https://arxiv.org/abs/2512.23696
2•ibobev•45m ago•0 comments

A bit of glass and freedom is all you need

https://lemire.me/blog/2026/01/07/a-bit-of-glass-and-freedom-is-all-you-need/
3•ibobev•46m ago•0 comments

Show HN: Chess in Hyperbolic Space

https://mchess.io/hyperbolic
2•mannymakes•49m ago•0 comments

Google Dorking

https://dorksearch.pro/
2•Dorker•49m ago•0 comments

Search engine bots crawled so AI bots could run

https://stackoverflow.blog/2026/01/06/search-engine-bots-crawled-so-ai-bots-could-run/
2•nishilpatel•51m ago•0 comments

SHOW HN: I built the Most fancy GitHub Wrapped 2025 with lofi music

https://github-wrapped-five.vercel.app/
3•saiyampathak•56m ago•0 comments

Take a Moment, and Read

https://twitter.com/arealmofwonder/status/2008454434477523334
2•keepamovin•57m ago•0 comments