A distributed dynamic programming runtime system for X10