Computed gotos on Reddit

Walter Bright newshound2 at digitalmars.com
Mon Jul 23 12:53:47 PDT 2012


On 7/22/2012 4:35 PM, bearophile wrote:
> Computed gotos are useful to write interpreters. Interpreters are a niche but
> important purpose of system languages like D. Computed gotos are also useful to
> implement certain finite state machines (like some used in computational biology).

D already has it: http://dlang.org/statement.html#FinalSwitchStatement





More information about the Digitalmars-d mailing list