News for hackers. Stuff that matters.
Re:Ask HN: What's a good tutorial for writing a stack-based ... by jacquesm on Monday November 30, 2015 @07:50PM (#10652986)
Do a small Forth implementation. Shouldn't take you more than a few days and you'll learn a ton about stack machines VM or otherwise.

Brodie's 'Staring Forth' would be a good point to branch out from. It's fun and it will maybe give you a new perspective on programming.

Re:Ask HN: What's a good tutorial for writing a stack-based ... by sgrossman on Monday November 30, 2015 @08:16PM (#10653074)
I remember this lecture being useful when I was writing a stack machine for my compilers course: https://class.coursera.org/compilers/lecture/62
Re:Ask HN: What's a good tutorial for writing a stack-based ... by pinewurst on Monday November 30, 2015 @08:44PM (#10653177)
There used to be one as part of the ANTLR Advanced Tutorial. I used that to bootstrap a fairly complex expert systems shell used as the core of a few things.