Patrick Dubroy
@dubroy
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.
Tweet image Tweet image Tweet image
Oct 3, 2023 · 6

https://twitter.com/dubroy/status/1709161013411737924 ∙ Archived on 2025-03-28.

← Twitter Archive: 2023