1. A method for managing array computations during programmatic run-time in a distributed computing environment, the method being implemented by one or more processors and comprising: defining, for multiple arrays that are utilized in a program at run-time, a plurality of array partitions that are used by a set of tasks of the program at run-time; assigning each of a plurality of computing devices of the distributed computing environment to perform one or more tasks in the set of tasks, wherein assigning each of the plurality of computing devices to perform one or more tasks includes implementing an objective to reduce data transfer amongst the plurality of computing devices, by (i) determining two or more array partitions that are accessed or modified by one or more tasks in the set of tasks during run-time of the program, and (ii) locating the two or more array partitions on a first computing device of the plurality of computing devices during the run-time of the program.