Hacker News new | past | comments | ask | show | jobs | submit login

I guess you're right. But I was trying to defend Valmar's statement which I still think is basically right in this context. Computers can't really implement non-deterministic algorithms.



> Computers can't really implement non-deterministic algorithms.

Well they can. Quantum computers are inherently non-deterministic.

Even for a classical computer, access to a true randomness source (such as a sufficiently good hardware RNG) is enough to make a classical computer non-deterministic, and hence programs that rely on that true randomness source are classified as non-deterministic.

In practice, we sometimes classify a program as nondeterministic even if it only has access to pseudorandomness, provided that pseudorandomness is "random enough". If a program uses a high quality PRNG seeded with the current time, that might be practically considered non-deterministic, even though strictly speaking the program's behaviour is a deterministic function of the current time (and other inputs).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: