🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4438

Re: GOTO controversy

#4438
From: habit
Date: Thu, 11 Apr 1996 05:42
33 lines
1782 bytes
Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
>In article <oun34tm3c7.fsf@lynx.cs.byu.edu> hall@cs.byu.edu "Kelly Hall" writes:
>
>>>>>>> "Lawrence" == Lawrence Kirby <fred@genesis.demon.co.uk> writes:
>>    Lawrence> An O(log N) stack depth is generally not a problem. I
>>    Lawrence> guess you could say that is finite because there are
>>    Lawrence> typically practical upper bounds to N.
>>
>>Tail recursion is implemented by all non-stupid compilers the same way
>>as the imperative (goto) version.  Gcc will do this, whether or not
>>your favorite compiler will is a different matter.
>>
>>No stack problems at all.
>
>Code that relies on compiler optimisations (which C doesn't guarantee) to
>even work at all is at best highly suspect and at worst plain broken. In
>some cases it is company policy to compile with optimisations turned off,
>this should not cause code to blow up.
>
>-- 
>-----------------------------------------
>Lawrence Kirby | fred@genesis.demon.co.uk
>Wilts, England | 70734.126@compuserve.com
>-----------------------------------------

-- 

----------------------------------------------------------------------------
VISION AUTOMATION
Taufiq Habib
habit@delphi.com
Office (619) 930 1974
Beeper (800) 796 7363  x103-6118
Technical Details
Message-ID: <4ki66c$9tf@news.connectnet.com>
Path: arc1-ca.pugleaf.net!news.connectnet.com!usenet
References: <314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <oun34tm3c7.fsf@lynx.cs.byu.edu> <828656035snz@genesis.demon.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.connectnet.com!usenet
From: habit@delphi.com
Newsgroups: comp.lang.misc,comp.lang.c
Subject: Re: GOTO controversy
Date: Wed, 10 Apr 1996 22:42:42 PDT
Organization: CONNECTnet Internet Network Services (service provider)
Message-ID: <4ki66c$9tf@news.connectnet.com>
References: <314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <oun34tm3c7.fsf@lynx.cs.byu.edu> <828656035snz@genesis.demon.co.uk>
NNTP-Posting-Host: max-nc-203.connectnet.com
X-Newsreader: skim 0.8.4