News for hackers. Stuff that matters.
Re:This will crash your browser. by asadlionpk on Tuesday September 10, 2013 @05:59AM (#6359106)
its clearly mentioned that it will lock up your browser. If you had tabs open I am sorry for that but you would have given the title of this post some thought :)

the while(1); thing could be explained easily, but the code for this one (written below) is not simply an endless loop

Re:This will crash your browser. by lutusp on Tuesday September 10, 2013 @01:42PM (#6361584)
> ... the code for this one (written below) is not simply an endless loop

You may find this enlightening: Not only do nontrivial programs sometimes have unevaluated ways that will prevent their termination, but it's been proven that there cannot be a deterministic way to prove that a program will or will not terminate.

The Turing halting problem (will a given program terminate), and Godel's Incompleteness Theorems (nontrivial axiomatic systems can make true statements that cannot be proven), are connected -- each implies the other. And both have been shown to be more than educated guesses about reality.