home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.arch      Apparently more than just beeps & boops      131,241 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 130,179 of 131,241   
   John Levine to user5857@newsgrouper.org.invalid   
   Re: label variables, was branch splittin   
   06 Nov 25 22:09:25   
   
   From: johnl@taugh.com   
      
   It appears that MitchAlsup   said:   
   >> That is not the issue. The question is if the semantics of "goto   
   >> label-valued-variable" are hard to define, as Ritchie said, or not, as   
   >> Anton thinks Stallman said or would have said.   
   >   
   >So, label-variables are hard to define, but function-variables are not ?!?   
      
   Relatively speaking, yeah.  In languages with nested scopes, label gotos   
   can jump to an outer scope so they have to unwind some frames.  Back when   
   people used such things, a common use was on an error to jump out to some   
   recovery code.   
      
   Function pointers have a sort of similar problem in that they need to carry   
   along pointers to all of the enclosing frames the function can see.  That is   
   reasonably well solved by displays, give or take the infamous Knuth man or boy   
   program, 13 lines of Algol60 horror that Knuth himself got the results wrong.   
      
   --   
   Regards,   
   John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for   
   Dummies",   
   Please consider the environment before reading this e-mail. https://jl.ly   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca