GCC “labels as values” – intended usage
I recently heard about the Labels as Values extension to C/C++ in GCC and other compilers. I was thinking about how I’d use that to write a threaded interpreter (where a virtual machine program is defined by chaining together addresses of real machine code blocks).