Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: A small virtual machine written in C.
the power of function pointers for stuff like this is quite enormous. making a vm like this is great practice for a real compiler too... :)
i'm curious though, why it isn't a direct copy of x86? other than the obvious 'thats really complicated' it would save a lot of wheel reinventing...
the power of function pointers for stuff like this is quite enormous. making a vm like this is great practice for a real compiler too... :)
i'm curious though, why it isn't a direct copy of x86? other than the obvious 'thats really complicated' it would save a lot of wheel reinventing...