News for hackers. Stuff that matters.
Re:Clay: A new language for generic programming (based on LLVM) by fhub on Monday July 26, 2010 @07:48AM (#1547726)
goto can be useful for "alarm exits". The linux kernel uses them a lot. See the bottom of this thread for some pseudo code http://kerneltrap.org/node/553/2131
Re:Clay: A new language for generic programming (based on LLVM) by adamc on Monday July 26, 2010 @07:52AM (#1547736)
Sure, but in the factorial example, Clay uses goto to express iteration: http://bitbucket.org/kssreeram/clay/src/b1df8340f2b4/test/fa...