Skip to content

Comment on Show HN: Run unknown shell script with a line-by-line confirmation promptparent

Comments

doesn't the halting problem only hold if you have infinite memory?

That's probably correct. But any reasonable execution environment has so many states that doing a full enumeration is infeasible.

I've seen this argument that 'halting problem is undecideable': http://www.lel.ed.ac.uk/~gpullum/loopsnoop.html

The argument doesn't rely on infinite memory.

With finite memory and no external inputs an observer can enumerate all possible states.

In real systems external inputs provide an infinite source of "memory" to read from.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.