News for hackers. Stuff that matters.
Re:Checked C from Microsoft Research by Illniyar on Tuesday June 14, 2016 @02:44AM (#11900217)
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...
Re:Checked C from Microsoft Research by kbart on Tuesday June 14, 2016 @02:59AM (#11900275)
Why? Infinite loops in C are by design and have many uses: threads waiting for signals, polling, events processing etc.
Re:Checked C from Microsoft Research by patresi on Tuesday June 14, 2016 @04:40AM (#11900648)
Re:Checked C from Microsoft Research by JD557 on Tuesday June 14, 2016 @06:41AM (#11901033)
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.

Re:Checked C from Microsoft Research by kbart on Tuesday June 14, 2016 @06:01AM (#11900894)
Heh, need to relax a little then. Anyway, I've heard this complain too many times from inexperienced "programmers" ("Why my program doesn't quit?"), so the truth is not far fetched..