Re:Checked C from Microsoft Research
by rck404 on Tuesday June 14, 2016 @02:33AM
(#11900173)
StackOverflowException. Call heap size exceeded.
[ Parent
| on HN ]
Maybe the new checked C can protect against infinite loops too ;)
Re:Checked C from Microsoft Research
by markokrajnc on Tuesday June 14, 2016 @04:28AM
(#11900604)
This is a joke... but in reality there are MANY cases where programming language can prevent errors at compile time with no or minimal costs and this could be added to standard C...
Why? Infinite loops in C are by design and have many uses: threads waiting for signals, polling, events processing etc.
It's a joke :)
Actually, Microsoft Research has another project to prove program termination: http://research.microsoft.com/en-us/projects/t2/
Obviously this cannot work on all programs, but it's nice that they tried to do their best.