[chuck-dev] Register-based VM

Arve Knudsen arve.knudsen at gmail.com
Tue Jun 3 18:32:23 EDT 2014


Hi guys

Have you ever considered swapping the stack-based VM in ChucK for a
register-based one like the one in Lua 5 (
http://en.wikipedia.org/wiki/Lua_(programming_language)#Internals)? I
switched to this design in ChucKJS, and it improved performance a great
deal. I think it's much nicer to work with as well. I was thinking it might
also ease eventual auto-porting of ChucK to JavaScript via Emscripten.

Best,
Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20140604/4dd93739/attachment.html>


More information about the chuck-dev mailing list