Existing techniques for optimization of compilers and programs cannot be adapted directly due to necessity of capturing closure and restoring it at the destination host, which may have a different architecture than the originating host. This project seeks to optimize the RISC-based virtual machine utilized in the mobile computation system in order to make it more efficient. Facets of the virtual machine to be examined in the study include the high level language compiler, the data structures utilized in the RVM code, and the algorithms coded to implement the RVM.