News for hackers. Stuff that matters.
Re:Show HN: A small virtual machine written in C by chewxy on Monday August 04, 2014 @02:37AM (#8130632)
if you're already writing in C, no. Just write some functions to convert those instructions into asm, and write an assembler (or use one of the many out there) to output them to bytes. Then use mprotect(), tadah!
Re:Show HN: A small virtual machine written in C by tekknolagi on Monday August 04, 2014 @02:44AM (#8130644)
Interesting.