AndyC wrote:Some language features could be parallelized without the programmer explicitly stating it. I'm thinking of things like foreach loops over collections
(heart skips a beat)
I have enough thread-related problems without the compiler "helpfully" parallelizing stuff for me. If I want a new thread I'll ask for it.
That said, a foreach:async might, indeed, be a good idea.