1. A JIT-translation system comprising a processor, a memory coupled to the processor, and a computer-readable hardware storage device coupled to the processor, the storage device containing program code configured to be run by the processor via the memory to implement a method for optimization and affinity for hypervisor-based just-in-time translation, the method comprising: the system receiving, from a first user, a first request to launch a user application from a first virtualized operating platform; the system identifying a first function signature of a plurality of function signatures, where the first function signature uniquely identifies the user application and the first virtualized operating platform; the system determining whether the first function signature is stored in a signature repository and, if determining that the first function signature is not stored in the signature repository: the system generating a first executable version of the user application that is compatible with the first virtualized operating platform; the system storing the first executable version in a shared area of memory that is accessible to multiple users; and the system storing the first function signature in the signature repository; and the system returning to the first user a first pointer to a first returned runtime version of the user application, where the first returned runtime version is compatible with the first virtualized operating platform, such that the first user is capable of launching a first distinct instance of the user application from the first virtualized operating platform by using the first pointer to access the first returned runtime version.