It's not outside the ability of a JIT to infer, which brings it back to being relevant to Java. Incidentally, Scala's in the same position as Java in that respect; it has no knowledge of whether methods have side effects.
> all you need to understand is whether your loop body lends itself to > parallelization since this is obviously outside the ability of the > compiler* to magically infer. > > *Here we're talking mainstream imperative Java/C#, not Haskell/ML/ > Clojure/Scala or other experimental languages, AFAIK this is still > called The Java Posse. > > -- > 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.
