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

Comments

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

1•grahammccain•20s ago

Should academic misconduct be catalogued? Proposed US database sparks debate

https://www.nature.com/articles/d41586-026-01147-x
1•gnabgib•8m ago•0 comments

One Method Was Using 71% of CPU. Here's the Flame Graph

https://jvogel.me/posts/2026/one-method-using-71-percent-of-cpu/
1•siegers•12m ago•1 comments

Apple's New iPhone Update Is Restricting Internet Freedom in the UK

https://bigbrotherwatch.org.uk/blog/apples-new-iphone-update-is-restricting-internet-freedom-in-t...
3•josephcsible•14m ago•0 comments

Volcanic rock formula cuts cement emissions by two-thirds

https://techxplore.com/news/2026-04-volcanic-formula-cement-emissions-thirds.html
1•geox•21m ago•0 comments

The Mystery of Water on the Moon

https://nautil.us/the-mystery-of-water-on-the-moon-1279617
1•Bender•26m ago•0 comments

YouTube Premium just went up to $15.99 / mo (US)

https://www.youtube.com/premium
5•tehwebguy•27m ago•1 comments

Chatbots are great at manipulating people to buy stuff, Princeton boffins find

https://www.theregister.com/2026/04/09/chatbots_excel_at_manipulating_people/
1•Bender•28m ago•0 comments

Make2c - Revolutionary Discovery of the Music Math Formula

https://github.com/sfeltenberg/Analytic-lobe-hypothesis/blob/main/README.md
2•sfeltenberg•28m ago•1 comments

EdgeSense – replacing neural nets on microcontrollers with symbolic physics

https://github.com/Kretski/EdgeSense
3•DREDREG•28m ago•0 comments

Mexican surveillance company Grupo Seguritech watches the U.S. border

https://restofworld.org/2026/mexico-seguritech-government-surveillance-profile/
1•classichasclass•29m ago•0 comments

Ludwig Straub, Winner of the John Bates Clark Medal

https://nicholasdecker.substack.com/p/ludwig-straub-winner-of-the-john
2•paulpauper•29m ago•0 comments

AI #163: Mythos Quest

https://thezvi.substack.com/p/ai-163-mythos-quest
1•paulpauper•29m ago•0 comments

The Anti-Democratization of Software

https://bitcicle.com/post/2026/anti-democratizing_software/
1•abelleisle•31m ago•0 comments

Warren Weaver and New Science Instruments

https://republicofscience.substack.com/p/warren-weaver-and-new-science-instruments
1•paulpauper•32m ago•0 comments

5 LLM played Poker: Opus busted first, Grok won

https://github.com/sagaripte/chorus/tree/main/examples/poker
3•sagari•33m ago•0 comments

Police corporal created AI porn from driver's license pics

https://arstechnica.com/tech-policy/2026/04/state-police-corporal-created-porn-deepfakes-from-dri...
1•Bender•36m ago•0 comments

Mystery over 8 missing or dead scientific experts

https://www.newsweek.com/mystery-over-8-missing-or-dead-experts-linked-to-ufo-research-11792852
2•ZunarJ5•40m ago•0 comments

What Playboy got right about men – Lust and literacy can coexist

https://unherd.com/2026/04/what-playboy-got-right-about-men/
4•pseudolus•44m ago•1 comments

I built a portfolio platform for creators (FelixPro.space)

https://www.felixpro.space
2•asabajumah•50m ago•0 comments

Sam Altman's Coworkers Say He Can Barely Code and Misunderstands Basic Concepts

https://futurism.com/artificial-intelligence/sam-altman-technical-coding
12•cebert•55m ago•3 comments

The Economics of Software Teams: Why Most Organizations Are Flying Blind

https://www.viktorcessan.com/the-economics-of-software-teams/
1•gpi•55m ago•0 comments

Vibe-Coded Ext4 for OpenBSD

https://lwn.net/Articles/1064541/
3•signa11•55m ago•1 comments

The role of LLMs in patch review

https://lwn.net/Articles/1064830/
3•signa11•56m ago•0 comments

Stream your terminal. Watch AI agents work. Like Twitch, for shells

https://github.com/sderosiaux/twitch-terminal
2•chtefi•57m ago•0 comments

The many failures leading to the LiteLLM compromise

https://lwn.net/Articles/1064693/
3•signa11•58m ago•1 comments

S3 for Non Technical Folks

https://bucketdrive.app/blog/how-to-give-non-technical-users-access-to-s3.html
2•justpeek•1h ago•0 comments

You Are Not the One – Chinese Dating Dystopia

https://terminaldrift.substack.com/p/you-are-not-the-one-chinese-dating
4•Natsu•1h ago•0 comments

Key ocean current is slowing at locations around the Atlantic

https://www.newscientist.com/article/2522463-key-ocean-current-is-slowing-at-locations-around-the...
1•bluerooibos•1h ago•0 comments

Show HN: SmolVM – open-source sandbox for coding and computer-use agents

https://github.com/CelestoAI/SmolVM
4•theaniketmaurya•1h ago•0 comments