I suppose if each element of the loop writes a different file
containing just the index, that's safely parallelisable and a case it
would be difficult to automatically analyse.

These things often err on the conservative side, so as to not
introduce problems.

2011/1/6 Cédric Beust ♔ <[email protected]>:
>
>
> On Thu, Jan 6, 2011 at 12:37 PM, Ricky Clarkson <[email protected]>
> wrote:
>>
>> All it takes is for the compiler to know what operations are
>> side-effect-ful and it can do all the necessary analysis.
>
> It's still not enough: the loop might still be parallelizable even though
> it's performing side effect operations.
>
>>
>> So, for instance, it's perfectly doable without any hints for Haskell
>
> Are you sure? Remember: the only important factor here is whether the
> operations can be safely performed out of order.
> --
> Cédric
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to