News for hackers. Stuff that matters.
Re:Why we should adopt a non-Turing complete language for cl... by sp332 on Friday March 30, 2012 @01:24PM (#3777066)
The halting problem doesn't mean that you can't prove that some programs halt. It just means that you can't prove whether every program halts (or doesn't). If I write a program:

int main () { return 0; }

I can easily prove that it will halt. There are some classes of programs that provably halt, and some classes that provably don't. Proving that a program halts doesn't mean anything about solving the halting problem, and it doesn't say anything about the Turing-completeness of the language.

Re:Why we should adopt a non-Turing complete language for cl... by zeteo on Friday March 30, 2012 @01:31PM (#3777100)
Right, so an alternative approach is to require all client-side scripts that your browser downloads to come with a proof of safety. This requires extra work for each script. Which can be avoided if the script language was non-Turing complete instead, and you had a general-purpose code analyzer on your machine.
Re:Why we should adopt a non-Turing complete language for cl... by nwmcsween on Saturday March 31, 2012 @02:40AM (#3779613)
The amount of effort that would be needed to shift from a Turing complete language to a non Turing complete would outweigh the benefits by a very large amount.
Re:Why we should adopt a non-Turing complete language for cl... by sp332 on Friday March 30, 2012 @01:38PM (#3777136)
Oh, I see. Turing-complete language + certificate of good behavior = non-turing-complete language. Cool :)