Re:C uses "&" for the address-operator because 'ampersand so...
by bxparks on Tuesday October 10, 2023 @01:25PM
(#37834894)
I think computed-GOTO is easier to understand and more flexible than Duff's device, but computed-GOTO is not part of the C standard. It is sometimes available as a non-portable extension, e.g. https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html. Anyone know why it is not included in C?
[ Parent
| on HN ]