Honestly I miss the expressiveness of C, in particular what you can do with the preprocessor.
Here's bytecode dispatch in the Lua interpreter. The same code can be compiled to produce a direct-threaded interpreter (gotos w/ computed labels) or a switch-based one.
Here's bytecode dispatch in the Lua interpreter. The same code can be compiled to produce a direct-threaded interpreter (gotos w/ computed labels) or a switch-based one.
https://twitter.com/dubroy/status/1709161013411737924 ∙ Archived on 2025-03-28.