I'm new here, and I hope I'm placing this topic in an apropriate forum.
So, I would like to know if anybody has any experiences with high level virtual machines?
I know that a target language for a low level virtual machine is pretty much the same as most of assemblers (addressing registers and invoking other low level stuff). But what about HLVM (high level virtual machines)? What is the target language? Is it all still about registers and moving data between them, or is it at least a bit higher (while, if, for statements)?
I hope this question makes sense, and thank you in advance!
What do you expect from a Virtual Machine of any level, high or low? It seems that 'high level virtual machine' is not a common thing based on google search results, but there are two projects making HLVMs that I saw.
I think the better question to ask is, what is the benefit of an HLVM vs the combination of an LLVM + programming language?
Thanks, Duoas. I've made a simple vm and an assembly for it. (you know, one of those that can only add or take values of two registers). I wasn't sure if "it would be ok" to implement some print function in my assembly, that would print out a register's value.