[virtmach] first VM.

Mitch Wright mew_jac@swbell.net
Fri, 10 Nov 2000 19:11:18 -0600 (CST)


A
>> Now, if you intend to expand your VM past 255 instructions (sounds far
>> fetched now, but what about 6 months down the line) then creating your own
>> jump table, or using a table of functions pointers may be more efficient.
>
>Really? So a big switch/case is slower than a huge amount of function
>calls?
>by the way, what is a jump table? Or better yet, how is one implemented?
>(I learn better by example, theory usually just seeps back out of my
>head.)

More Food: http://www.complang.tuwien.ac.at/forth/threaded-code.html
 
Check out topic on: GNU C's Labels as Values

Regards, Mitch