Trying to wrap my head around this idea... The VM I'm playing around with right now is dynamically typed - but its implementation is statically typed. I started thinking about making a bytecode implementation of Irken itself (rather than a Python-like language).
But I'm not sure it even makes sense to try to write a static VM in a static language, because you'd have to do the equivalent of 'void*' casting everywhere. (Of course, this is what you do when you write a VM in C, but it feels a much more natural thing to do in C 8^).
I was curious to see how OCaml dealt with this issue... and was quite surprised to find a VM written in C.
Monday, May 3, 2010
Subscribe to:
Post Comments (Atom)

2 comments: