News for hackers. Stuff that matters.
Re:Implementing a Virtual Machine in C by r4pha on Tuesday June 23, 2015 @08:42AM (#9764218)
There's something really nice about these minimalistic C projects. You can quickly take a look at the source and immediatelly grasp what's happening. A simple and didactic introduction. Super cool.
Re:Implementing a Virtual Machine in C by tptacek on Tuesday June 23, 2015 @11:46AM (#9765421)
Yes. Obligatory and tedious re-up for my favorite minimalistic C program of the last 5 years:

https://github.com/rswier/c4

Take 2 hours to grok this and you can skip compiler books and move straight to compiler papers.

Re:Implementing a Virtual Machine in C by Winterflow3r on Tuesday June 23, 2015 @02:23PM (#9766608)
Challenge accepted.
Re:Implementing a Virtual Machine in C by tptacek on Tuesday June 23, 2015 @02:30PM (#9766666)
An even better challenge: add structs to the compiler. :)
Re:Implementing a Virtual Machine in C by Winterflow3r on Tuesday June 23, 2015 @05:55PM (#9768120)
haha okay! I don't have any formal CS training though (and the CPU between the ears isn't too great either) so it's going to take me more than 2 hours. I'm going through void next() right now. Are you open for questions on Github?
Re:Implementing a Virtual Machine in C by tptacek on Tuesday June 23, 2015 @06:34PM (#9768270)
It's not my code, so, Github is a bad place to ask me questions. But you can ask them here, and I'll respond.