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•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

What is Firecracker? (A beginners intro)

https://www.browserbase.com/blog/what-is-firecracker
1•Kylejeong21•28s ago•0 comments

Ex150 – My Diet Explained and How to Do It

https://www.exfatloss.com/p/ex150-my-diet-explained-and-how-to
1•swah•29s ago•0 comments

TabAutopilot – AI Tab Organizer and Manager

https://chromewebstore.google.com/detail/tabautopilot-–-ai-tab-org/nplekjmldglpfcdiechmgahoefhf...
1•rfmamun•1m ago•0 comments

Well made software will make it

https://dankim.com/well-made-software-will-make-it/
1•speckx•1m ago•0 comments

Feels Like GitHub Status

https://paradise-runner.github.io/feels-like-github-status/#tz=America%2FDenver&m=AAAAAP4BAP4BAP4...
1•dividedcomet•1m ago•1 comments

Why are stock prices still so high?

https://www.thefp.com/p/stock-market-rally-iran-war
1•paulpauper•4m ago•0 comments

Albert Einstein in the World Wide Web

https://einstein-website.de/en/
2•reconnecting•4m ago•0 comments

ICE Plans to Deploy Additional Iris Scanners Nationwide Under No-Bid Contract

https://www.projectsaltbox.com/p/ice-plans-to-deploy-1570-additional
1•cdrnsf•5m ago•0 comments

Reeder App

https://reeder.app/
2•SpyCoder77•7m ago•0 comments

GM cutting salaried IT workers as it trims costs, evaluates needs

https://www.cnbc.com/2026/05/11/gm-layoffs.html
2•TMWNN•9m ago•0 comments

Brazil caught up in craze for whistling-only WhatsApp groups

https://www.theguardian.com/world/2026/may/05/brazil-craze-whistling-only-whatsapp-groups
2•hmokiguess•13m ago•0 comments

Claude Platform on AWS is now generally available

https://aws.amazon.com/about-aws/whats-new/2026/05/claude-platform-aws/
2•gslin•13m ago•0 comments

A Bette RAG Alternative

https://www.codynamicslab.com/
1•CoDynamicsLab•14m ago•1 comments

Google updates AI search to include quotes from Reddit and other sources

https://techcrunch.com/2026/05/06/google-updates-ai-search-to-include-expert-advice-from-reddit-a...
3•gmays•15m ago•0 comments

Zig vs. Rust in 2026

https://zackoverflow.dev/writing/zig-vs-rust-in-2026/
2•ingve•15m ago•0 comments

Hyperland [video]

https://www.youtube.com/watch?v=cyAQgK7BkA8
1•zoenolan•16m ago•0 comments

Professional school grads from diverse classes get higher salaries

https://arstechnica.com/science/2026/04/professional-school-grads-from-diverse-classes-get-higher...
1•PaulHoule•17m ago•0 comments

Ask HN: Hetzner Down Again?

https://status.hetzner.com/
1•lschueller•19m ago•1 comments

Create a 90s GeoCities style website in seconds (rust)

https://crates.io/crates/create-geocities-app
4•whatsupdog•19m ago•0 comments

Chrome Addon to Export Websites as PDF, SVG, DXF, with searchable Text

https://chromewebstore.google.com/detail/web2vector/ojjkecepeobhmpilhdhcjcgpdjhnkjgl
2•jogibear9988•20m ago•0 comments

Steven, please fix the 1% loss/gain graph

https://blog.hartwork.org/posts/steven-please-fix-the-1-loss-gain-graph/
2•spyc•21m ago•0 comments

How to Fine-Tune LLMs on AMD Strix Halo

https://www.promptinjection.net/p/how-to-fine-tune-llms-on-amd-strix-halo-ryzen-ai-max-395-sft-lora
1•c7b•22m ago•0 comments

Proxmark5: Professional RFID Research Platform for Hackers

https://www.indiegogo.com/en/projects/rfidresearchgroup/proxmark5
1•The_SamminAter•22m ago•0 comments

Factorio syncs inputs, not a million objects [video]

https://www.youtube.com/watch?v=0FHSZ1hani0
2•p_stuart82•26m ago•0 comments

Logos – Social Movement and Decentralised Technology

https://logos.co
2•janandonly•27m ago•0 comments

Linux Terminal Memory Usage

https://gilesorr.com/blog/linux-terminal-memory-usage.html
4•speckx•28m ago•0 comments

Cool way to show off all your AI projects

https://www.robot-future.com/preview/69fba01c844114ffda523bbc
2•busters4•31m ago•0 comments

Quiet – Private messaging over Tor. No servers

https://tryquiet.org/
3•janandonly•31m ago•1 comments

Show HN: A geocities inspired place for your vibed tools

https://www.tinytooltown.com/
3•shanselman•34m ago•0 comments

Google Cameyo – turn legacy Windows apps into PWAs

https://cameyo.google/
2•LorenDB•35m ago•0 comments