News for hackers. Stuff that matters.
Re:Write your own Virtual CPU in C++ by fordacious on Saturday September 27, 2014 @10:09PM (#8378738)
I got this idea from a friend, but whenever I wanted to learn a new language, I would quickly hack out a 4001 emulator in that language. Its an interesting but quick challenge.

http://pastebin.com/YkhRsuih - C

http://pastebin.com/L79CeeGB - Haskell

http://pastebin.com/LybWwGzm - JS

http://pastebin.com/ZVDiRmP6 - MHS this language cant take input (its an educational toy language for a course)

Re:Write your own Virtual CPU in C++ by Shengbo on Sunday September 28, 2014 @10:13AM (#8379764)
As a beginner studying C, Java, Python and JS at the same time this is very interesting and educational. Thank you very much for posting these links.