277 points · by whalesalad · 14y ago · 54 comments
<edits to correct grammar>
/edit: link to blog post: http://rsms.me/2012/10/07/mylang-tutorial1.html
I have a friend who can code and bake excellent pie. Amazing!!
The new Threads curriculum doesn't (or didn't when I last paid attention to it) require anything nearly this complicated. I have a friend who graduated under Threads without having taken CS2200 (Systems and Networks) or ECE2030 (Intro ECE). He's a talented computer scientist, but he's had to learn a lot of the bits of systems that are relevant to his day-to-day work on his own.
That said, I feel like this goes beyond anything that was ever strictly "required". The most complicated VM or language related work I had that was in a core class was Olin Shivers's[0] CS3240 (Languages and Computation). That concluded with us building a basic Scheme interpreter in Java. The other work I did on the subject was in specialization or elective classes (or grad school).
[0]: To folks who might happen to be at Northeastern, do take any class you can with Olin. He is a fantastic professor, and I can't recommend his classes enough. Favorite class I took at tech, hands down.
The most tedious part was implementing a garbage collector on top of the VM (GC was not part of the VM spec) We grumbled a lot about this task :)
I talk to my other friends at CS schools and lately some of them don't nearly go into as much depth.
Instead of doing something like this, they just made us memorize the x86 instructions and their nuances. I shudder every time I think about it.
How does he have time for this stuff?
I would like to work on foundational projects too, but there are too many practical things that need go get done.
It is good to see that somebody has time for this.
(It was described in one of the Lua papers, but Google for "lua language predecessor sol")
SOL (meaning Sun in Portuguese) was a VM built a PUC-Rio. It was the predecessor to Lua (meaning Moon in Portuguese).