pub fn new() -> VM {
    VM {
      code_server: RefCell::new(Box::new(CodeServer::new())),
      pid_counter: 0,
      scheduler: RefCell::new(Box::new(Scheduler::new())),
    }
  }
/// Create a VM, multiple VMs can be created but atom table and code server
/// will be shared (global).
Create a VM, multiple VMs can be created but atom table and code server
will be shared (global).
Create a VM multiple VMs can be created but atom table and code server will be shared ( global ) .
pub fn new() -> VM {
    VM {
      code_server: RefCell::new(Box::new(CodeServer::new())),
      pid_counter: 0,
      scheduler: RefCell::new(Box::new(Scheduler::new())),
    }
  }
pub fn new ( ) -> VM { VM { code_server : RefCell :: new ( Box :: new ( CodeServer :: new ( ) ) ) , pid_counter : 0 , scheduler : RefCell :: new ( Box :: new ( Scheduler :: new ( ) ) ) , } }
Create a VM, multiple VMs can be created but atom table and code server
will be shared (global).
Create a VM multiple VMs can be created but atom table and code server will be shared ( global ) .