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•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

We use AWS instead of Vercel to host our Next.js app

https://graphite.com/blog/why-we-use-aws-instead-of-vercel
1•mooreds•5m ago•0 comments

Building Custom Graphics Cards for Cloud Gaming

https://blog.imaginationtech.com/building-custom-graphics-cards-for-cloud-gaming
1•PaulHoule•5m ago•0 comments

Rise of the full nesters: what life is like with adult children

https://www.theguardian.com/lifeandstyle/2025/dec/16/full-nesters-adult-children-leave-home-paren...
1•kepler471•5m ago•0 comments

Construction of the first Funifor section on the Schilthorn "Mürren–Birg" (2025) [video]

https://www.youtube.com/watch?v=paZS_AvXuUI
1•Faaak•6m ago•1 comments

Show HN: MinuteShark Time Tracking for Freelancers

1•a-abit•7m ago•0 comments

Show HN: Developer-friendly HTTP request testing inside the browser

https://github.com/repplus/rep
1•bscript•7m ago•0 comments

H1B Lottery Rule Changes

https://www.uscis.gov/newsroom/news-releases/dhs-changes-process-for-awarding-h-1b-work-visas-to-...
2•iammuaddib•7m ago•0 comments

An uncomfortable but necessary discussion about the Debian bug tracker

https://nibblestew.blogspot.com/2025/12/an-uncomfortable-but-necessary.html
1•ibobev•9m ago•0 comments

Rambling About AIs, Goals and Stuff

https://solhsa.com/oldernews2025.html#RAMBLING-ABOUT-AIS-GOALS-AND-STUFF
2•ibobev•10m ago•0 comments

Does FHE deserve this much attention?

https://ethresear.ch/t/does-fhe-deserve-this-much-attention/23726
1•boogiemath•10m ago•0 comments

Go in 9×9 is Awesome

https://entropicthoughts.com/go-in-9x9-is-awesome
3•ibobev•11m ago•0 comments

"Maximum text contrast" requirement removed from WCAG 3.0 draft

https://www.w3.org/TR/wcag-3.0/
2•vishnuharidas•11m ago•1 comments

Plane makes safe emergency landing with first use of Autoland system (2M video)

https://www.youtube.com/watch?v=XawXSLRCM3o
2•rmason•15m ago•2 comments

California cracking down on AI chatbots

https://www.kron4.com/news/technology-ai/california-cracking-down-on-ai-chatbots/
2•randycupertino•15m ago•0 comments

Show HN: Lume.js – 1.5KB React alternative using zero custom syntax

https://sathvikc.github.io/lume-js/
2•sathvikchinnu•15m ago•1 comments

U.S. Takes a Step Toward Approving Seabed Mining in International Waters

https://www.nytimes.com/2025/12/23/climate/seabed-mining-trump-metals-company-permit-noaa.html
2•quapster•16m ago•0 comments

Show HN: PeopleSoft Meet Node.js (and Python)

2•enovation•16m ago•0 comments

When Was Newton Born?

https://www.johndcook.com/blog/2025/12/23/when-was-newton-born/
1•pavel_lishin•19m ago•0 comments

A single copy-paste error. $50M in USDT lost. The address poisoning scam

https://twitter.com/bilinearlabs/status/2003446672979009761
1•bibiver•20m ago•0 comments

Delivering Higher Pay? Impacts of a Task-Level Pay Standard in the Gig Economy

https://www.nber.org/papers/w34545
2•jandrewrogers•20m ago•0 comments

Ask HN: How to avoid the build trap but also avoid doing nothing

1•AdobiWanKenobi•21m ago•0 comments

Some Epstein file redactions are being undone with hacks

https://www.theguardian.com/us-news/2025/dec/23/epstein-unredacted-files-social-media
5•vinni2•23m ago•1 comments

Additive vs. multiplicative boosting for business signals in BM25 ranking

https://www.elastic.co/search-labs/blog/bm25-ranking-multiplicative-boosting-elasticsearch
1•alexmarquardt•24m ago•0 comments

Marissa Mayer's new startup Dazzle raises $8M

https://techcrunch.com/2025/12/23/marissa-mayers-new-startup-dazzle-raises-8m-led-by-forerunners-...
2•elsewhen•25m ago•0 comments

Show HN: OSINTukraine – Telegram Archive V2

https://v2.osintukraine.com
1•rmdes•26m ago•0 comments

Ask HN: Which LLM has the best "study and learn" functionality?

1•wayeq•27m ago•0 comments

Google Calendar's Engineering Weapon: Restraint

https://www.compasscalendar.com/blog/gcal-secret-weapon
1•tylerdane•27m ago•0 comments

The Eudora Email Client Source Code (2018)

https://computerhistory.org/blog/the-eudora-email-client-source-code/
3•andsoitis•31m ago•0 comments

Show HN: Built a gratitude letter generator in a weekend with Lovable

https://www.grateful.ly/
1•iowadev•31m ago•0 comments

Olaf: Bringing an Animated Character to Life in the Physical World [video]

https://www.youtube.com/watch?v=-L8OFMTteOo
1•colinbartlett•31m ago•1 comments