30 Jan
2012
30 Jan
'12
1:13 p.m.
Hello,
Well, you can implement threaded code on any machine that support indirect branch instructions. Fortunately, GCC supports the "label-as-values" feature, which makes it available on any machine that supports GCC. My optimizations themselves are portable, and I tested them on a PowerPC for my thesis, too. (AFAIR, llvm supports this feature, too.)
Well, you're aware that Python already uses threaded code where available? Or are you testing against Python 2? Regards Antoine.