Glen Starchman <[EMAIL PROTECTED]> > I am investigating the use of multiple VMs in my language and looking for > examples of languages which use two or more VMs for parallel execution of > bytecode. Anyone have any good references?
When you say "multiple VMs" what exactly do you mean? Are you (using OO terminology) referring to having multiple instances of a single bytecode execution class, or having multple classes that can execute bytecode? The former case is what Tcl does[*], and it is (fairly) easy to get right so long as you don't use global variables. And watch out for non-reentrant sys- and stdlib-calls, and other things I don't remember/know about. :^) Donal. [* If compiled with thread support and with the thread-extension loaded to provide script-level access if so desired. ] -- Donal K. Fellows, Department of Computer Science, University of Manchester, UK. (work) [EMAIL PROTECTED] Tel: +44-161-275-6137 (preferred email addr.) (home) [EMAIL PROTECTED] Tel: +44-1274-401017 Mobile: +44-7957-298955 http://www.cs.man.ac.uk/~fellowsd/ (Don't quote my .sig; I've seen it before!)
