9. The system of claim 7 : the operations further comprising generating, for a particular concurrency primitive from the first set, an optimized concurrency primitive that is more efficient than the particular concurrency primitive and that, upon execution of the optimized concurrency primitive, produces the same result as execution of the particular concurrency primitive, wherein generating the second set of concurrency primitives from the first set of concurrency primitives comprises generating the second set of concurrency primitives from the first set of concurrency primitives and the optimized concurrency primitive.
9. The system of claim 7 : the operations further comprising generating, for a particular concurrency primitive from the first set, an optimized concurrency primitive that is more efficient than the particular concurrency primitive and that, upon execution of the optimized concurrency primitive, produces the same result as execution of the particular concurrency primitive, wherein generating the second set of concurrency primitives from the first set of concurrency primitives comprises generating the second set of concurrency primitives from the first set of concurrency primitives and the optimized concurrency primitive. 10. The system of claim 9 , wherein: generating the optimized concurrency primitive comprises determining whether a likelihood that the optimized concurrency primitive being dependent upon one of the plurality of different types of architectures that will execute the module is below a predetermined threshold; and generating the second set of concurrency primitives from the first set of concurrency primitives and the optimized concurrency primitive is based on determining that the likelihood of the optimized concurrency primitive being dependent upon one of the plurality of different types of architectures that will execute the module is below the predetermined threshold.