2 ms·
First off I suppose it's easier to pick a dynamically typed target. Is there a particular reason it be a VM rather than just picking a language to generate (e.g
by karmakaze 7y ago
First off I suppose it's easier to pick a dynamically typed target. Is there a particular reason it be a VM rather than just picking a language to generate (e.g. JavaScript, PHP, Perl)? Do you have any requirements for performance or parallelism?
- evnix 7y agoNo this is mostly for learning.
- karmakaze 7y agoLua/LuaJIT is worth a look. I've seen it come up a number of times for ease of hosting/interfacing. It's a dynamically typed language but I'm not sure what generating for it might be like.
- ihnorton 7y agoHave a look at Luje: https://github.com/davidgiven/luje https://github.com/davidgiven/luje
- karmakaze 7y agoThat's very intriguing: "Luje is a toy Java virtual machine written in pure Lua. It works by translating Java bytecode into Lua on-the-fly, and then using Mike Pall's LuaJIT to run the result."