17. A non-transitory computer readable storage medium storing instructions executable by a data processing apparatus and upon such execution cause the data processing to perform operations comprising: receiving a portable executable comprising a first set of concurrency primitives for a module, each concurrency primitive in the first set of concurrency primitives different from and generated from a higher level concurrency primitive while maintaining a set of language level constructs of the higher level concurrency primitives, independent of a plurality of different types of architectures that will execute the module, and allowing concurrent execution of different portions of the module; transforming each concurrency primitive in the first set of concurrency primitives into a different concurrency primitive to generate a second set of concurrency primitives, each of the concurrency primitives from the second set of concurrency primitives specific to a target architecture from the plurality of different types of architectures and allowing concurrent execution of different portions of the module, wherein transforming each concurrency primitive in the first set of concurrency primitives into a different concurrency primitive to generate a second set of concurrency primitives is performed within a predetermined time prior to executing a module corresponding with the portable executable on the target architecture; and executing the module on the target architecture using at least some of the concurrency primitives from the second set of concurrency primitives.
17. A non-transitory computer readable storage medium storing instructions executable by a data processing apparatus and upon such execution cause the data processing to perform operations comprising: receiving a portable executable comprising a first set of concurrency primitives for a module, each concurrency primitive in the first set of concurrency primitives different from and generated from a higher level concurrency primitive while maintaining a set of language level constructs of the higher level concurrency primitives, independent of a plurality of different types of architectures that will execute the module, and allowing concurrent execution of different portions of the module; transforming each concurrency primitive in the first set of concurrency primitives into a different concurrency primitive to generate a second set of concurrency primitives, each of the concurrency primitives from the second set of concurrency primitives specific to a target architecture from the plurality of different types of architectures and allowing concurrent execution of different portions of the module, wherein transforming each concurrency primitive in the first set of concurrency primitives into a different concurrency primitive to generate a second set of concurrency primitives is performed within a predetermined time prior to executing a module corresponding with the portable executable on the target architecture; and executing the module on the target architecture using at least some of the concurrency primitives from the second set of concurrency primitives. 19. The computer readable storage medium of claim 17 , wherein transforming each concurrency primitive in the first set of concurrency primitives into a different concurrency primitive to generate a second set of concurrency primitives comprises: determining whether to select a first translator or a second translator to generate the second set of concurrency primitives, wherein the first translator performs a faster transformation and generates the second set of concurrency primitives with slower data access during execution than a slower transformation performed by the second translator to generate the second set of concurrency primitives with faster data access during execution; selecting, based on the determining, the first translator or the second translator; and transforming each concurrency primitive in the first set to generate the second set of concurrency primitives using the selected translator.