1. A non-transitory circuit having machine instructions to perform a method of executing one or more applications, the method comprising: partitioning a program code into two or more logical units; and compiling each of the logical units into one or more executable entities, at least some of the logical units compiled into two or more executable entities, said two or more executable entities being different machine-specific compilations of the same logical unit, wherein the compiling further comprises inputting logical units to different machine-specific compilers to produce said two or more executable entities; and assigning same identifier to all executable entities compiled from the same logical unit, wherein the one or more executable entities are stored with at least two keys, one key identifying a logical unit from which said one or more executables are compiled, and another key identifying a platform with which said one or more executable entities are compatible.