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

Voight-Kampff-Neo

https://klaxzy.net/var/log/202603-voight-kampff-neo.html
1•klaxzygen•4m ago•0 comments

Scientists have successfully measured the instantaneous power of black hole jet

https://www.nature.com/articles/s41550-026-02828-3
1•modinfo•6m ago•0 comments

Back When Smoking Was Rewarded

https://creativepro.com/scanning-around-gene-back-when-smoking-was-rewarded/
2•austinallegro•8m ago•0 comments

CachyOS Is Now the Most Popular Desktop Distro on ProtonDB

https://boilingsteam.com/cachy-os-is-now-the-most-popular-distro-on-proton-db/
3•clircle•8m ago•1 comments

Extinct Cousin Loved Eating Grass [video]

https://www.youtube.com/watch?v=QD7E-gf74w0
1•gmays•9m ago•0 comments

Age verification is a mess but we're doing it anyway

https://www.theverge.com/policy/913038/age-verification-flaws
1•speckx•9m ago•0 comments

We Disagree on a Lot. But We Know This Law Must Change

https://www.nytimes.com/2026/04/17/opinion/section-702-surveillance-safe-act.html
1•Cider9986•9m ago•0 comments

American farmers bet on solar. Then Trump changed the rules

https://grist.org/food-and-agriculture/american-farmers-bet-on-solar-then-trump-changed-the-rules/
1•speckx•9m ago•0 comments

EuroLLVM 2026 Round Table Summary: MLIR Canonicalization

https://discourse.llvm.org/t/eurollvm-2026-round-table-summary-mlir-canonicalization/90588
1•matt_d•10m ago•0 comments

The American consumer market is larger than the EU and China's combined

https://en.wikipedia.org/wiki/List_of_largest_consumer_markets
3•jjmarr•14m ago•0 comments

xAI has Released Grok 4.3 (beta)

https://twitter.com/techdevnotes/status/2045072883206991973
3•sergiotapia•14m ago•0 comments

Robots learn: A brief, contemporary history

https://www.technologyreview.com/2026/04/17/1135416/how-robots-learn-brief-contemporary-history/
1•Brajeshwar•14m ago•0 comments

MoqBoy: Anarchy Gameboy Player

https://moq.dev/blog/moq-boy/
1•kixelated•14m ago•0 comments

Gen Z is 10 times more accepting of violence against speakers than Boomers

https://expression.fire.org/p/gen-z-is-10-times-more-accepting
3•delichon•15m ago•0 comments

Our Longing for Inconvenience

https://www.newyorker.com/culture/essay/our-longing-for-inconvenience
2•giraffe_lady•16m ago•0 comments

Show HN: Waputer – The WebAssembly Computer

https://waputer.app
1•marcandrysco•17m ago•0 comments

Show HN: Bookmark Tool in Common Lisp

https://github.com/ediw8311xht/cl-bookmark-tool
1•landdate•18m ago•0 comments

The Puppetmaster reveals his form

https://asimpleman333.github.io/Aurora2/
2•rogmash•19m ago•0 comments

Manage agent skills with GitHub CLI

https://github.blog/changelog/2026-04-16-manage-agent-skills-with-github-cli/
1•dangoor•21m ago•0 comments

Playdate won't have games using AI-generated assets

https://www.gamedeveloper.com/production/panic-won-t-release-playdate-titles-that-use-some-forms-...
3•glimshe•22m ago•0 comments

Controversial FISA program extended by House but only until April 30

https://www.cbsnews.com/news/controversial-surveillance-program-extended-by-house-but-only-until-...
2•anigbrowl•22m ago•1 comments

Skill Doc Generator: Turn Any Docs URL into Claude Skills

https://github.com/DemboNauta/skill-doc-generator
1•edgar_dev•23m ago•0 comments

Twenty Moves Suffice for Rubik's Cube

https://www.gathering4gardner.org/com-2024-01-21/
2•jhncls•23m ago•1 comments

Parsebench open leaderboard for PDF parsing

https://huggingface.co/datasets/llamaindex/ParseBench
1•pierre•23m ago•0 comments

The only fonts I use

https://rgo.pt/posts/fonts-i-use
3•kraktoos•24m ago•0 comments

Show HN: EX LIBRIS – a library-crawling RPG made with a 2000s engine

http://www.inpatientpress.net/inpatient-interactive/2026/4/16/ex-libris
1•idempotent_•24m ago•0 comments

Show HN: Codemaxxed – 350M+ LOC and a GitHub cease and desist

https://github.com/jshchnz/codemaxxed
1•jshchnz•26m ago•0 comments

I Tried the LLM Wiki and RAG on Todays News from BBC, CNN, Euronews

https://99helpers.com/wiki/latest-daily-news/israel-lebanon-ceasefire
3•nickk81•26m ago•0 comments

The Electronic Technical Reference Manual

http://www.techhelpmanual.com/2-main_menu.html
1•elvis70•26m ago•0 comments

OVH is increasing hosting prices Up to 4×

https://old.reddit.com/r/sysadmin/comments/1rayqsw/ovh_raises_prices_my_new_offer_is_551_higher/
2•onebitwise•30m ago•1 comments