1. A virtual execution system that is configured to be used in a resource-constrained device, the resource-constrained device includes an operating system and an application program that has instructions, the virtual execution system comprising: a. an execution engine that is configured to execute the application program and to facilitate the compatibility of the application program with the operating system; b. wherein i. non-functional aspects characterize the instructions and the operating system, ii. the execution engine has access to the non-functional aspects, and iii. the execution engine implements improvements during the execution of the application program based on the non-functional aspects.