Re:Euler's Fizzbuzz (2020)
by Jtsummers on Tuesday March 16, 2021 @11:06AM
(#26477694)
It's a common pattern in embedded systems (for better or worse) when you have something like function pointers or computed go tos available. C, of course, has function pointers and I've seen dispatch tables like this before:
In the case of computed go to in Fortran, it's similar. I had the "pleasure" of maintaining this once. It's been a while so I had to look up the syntax, IIRC it used something like a dispatch tree and dispatched off each digit in the type but I could be wrong:
[ Parent
| on HN ]
There are no comments on this comment yet.