Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: Infinite Loop Detector

Reply
Thread Tools

Re: Infinite Loop Detector

 
 
Gremlin
Guest
Posts: n/a
 
      02-28-2004
"Mike Wahler" <> wrote in
news:5mS%b.11045$ link.net:

>
> "Gremlin" <> wrote in message
> news:Xns949CCD0CBD632Test@216.168.3.44...
>> red floyd <> wrote in
>> news:eMR%b.31416$. com:
>>
>> > Because you're misinterpreting. You're not detecting an infinite
>> > loop, you're detecting recurrence of data.
>> >
>> > Also, the Halting Problem is not if a program can detect if it is
>> > in an infinite loop itself, but whether a different
>> > program/UTM/whatever, given program P as input, can say "P halts".
>> >
>> >

>>
>> You post an infnite loop and I will post the same loop back, with an
>> infinite loop detector of this sort added to it that will detect your

> loop.
>> Some problems may not theoretically run in infinite loops but would
>> of course on a computer, the halting problem deals with theoretical
>> problems not reality.

>
> A is A.
> If A is changed, then it's no longer 'A'.
>
> You're talking in circles.
>
> -Mike
>
>
>


Why don't you publish the axiom of choice instead?
Besides your logic is misleading in the world of computer programming.
Take this code for example.

int main(){
return 0;
}

it is equivalent to....

int main(){
//this is a comment
return 0;
}
 
Reply With Quote
 
 
 
 
Mike Wahler
Guest
Posts: n/a
 
      02-28-2004

"Gremlin" <> wrote in message
news:Xns949CD805A3B93Test@216.168.3.44...
> "Mike Wahler" <> wrote in
> news:5mS%b.11045$ link.net:
>
> >
> > "Gremlin" <> wrote in message
> > news:Xns949CCD0CBD632Test@216.168.3.44...
> >> red floyd <> wrote in
> >> news:eMR%b.31416$. com:
> >>
> >> > Because you're misinterpreting. You're not detecting an infinite
> >> > loop, you're detecting recurrence of data.
> >> >
> >> > Also, the Halting Problem is not if a program can detect if it is
> >> > in an infinite loop itself, but whether a different
> >> > program/UTM/whatever, given program P as input, can say "P halts".
> >> >
> >> >
> >>
> >> You post an infnite loop and I will post the same loop back, with an
> >> infinite loop detector of this sort added to it that will detect your

> > loop.
> >> Some problems may not theoretically run in infinite loops but would
> >> of course on a computer, the halting problem deals with theoretical
> >> problems not reality.

> >
> > A is A.
> > If A is changed, then it's no longer 'A'.
> >
> > You're talking in circles.
> >
> > -Mike
> >
> >
> >

>
> Why don't you publish the axiom of choice instead?


Not interested.

> Besides your logic is misleading in the world of computer programming.


Really? How so?

> Take this code for example.
>
> int main(){
> return 0;
> }
>
> it is equivalent to....
>
> int main(){
> //this is a comment
> return 0;
> }


Yes it is. Comments do not become part of the executable.


-Mike



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LPG gas detector , smoke detector fire alarm system wholesale and OEM zcsecurity VOIP 3 09-20-2010 12:27 AM
LPG gas alarm detector, smoke detector fire alarm system OEM zcsecurity VOIP 1 09-20-2010 12:16 AM
Re: Infinite Loop Detector Andrew Koenig C++ 7 04-03-2004 11:08 PM
Re: Infinite Loop Detector Johannes Bauer C++ 3 03-01-2004 10:40 AM
Re: Infinite Loop Detector John Cochran C++ 7 02-28-2004 02:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57