Re:BB(3, 4) > Ack(14)
by jamesaross on Thursday May 23, 2024 @02:18PM
(#40458028)
I love these puzzles. GNU C supports a label as value for computed goto. This is useful for direct threaded dispatch. You trade off a branch instruction for an address lookup, but it makes the code more structured.
[ Parent
| on HN ]
Re:BB(3, 4) > Ack(14)
by nextaccountic on Friday May 24, 2024 @12:54AM
(#40462908)
> GNU C supports a label as value for computed goto.
Why doesn't any modern C standard like C23 include this? Seems like a glaring omission.
Re:BB(3, 4) > Ack(14)
by archermarks on Friday May 24, 2024 @06:16PM
(#40470957)
Sometimes, the fact that one implementation includes it can make it actually more difficult to standardize, if there are some implementation details that are disagreeable (see GNU's nested functions)