News for hackers. Stuff that matters.
Re:Writing a register based VM in less than 125 lines of C code by nomemory on Thursday December 09, 2021 @06:01AM (#29496052)
I've thought of that, and to be honest I think it's worth mentioning in the article. But having set this arbitrary limit to 125 lines, before even starting to sketch things down, made me use the function tables. As a plus, article is intended for beginners, and it would be cool if they learn about function pointers from a practical example.

But from a performance perspective, you are right!

There are no comments on this comment yet.