Google Pattern Matcher has told me GCC computed gotos are good for direct threading. However, if you go to the GCC manual, it tells you computed gotos are good for INDIRECT threading.

So I have thought this over, and cannot see how computed gotos help with direct threading. And, in any case, I do not see how computed gotos help except in a whole program compiler.

#FORTH #ThreadedCode #GCC

Implementing Fast Interpreters

Many modern virtual machines include either a fast interpreter or a fast baseline compiler. A baseline compiler needs extra memory and is li...