Darren New wrote:
> Christopher Smith wrote:
>> The reason would be that the loop might have side effects, and said
>> side effects might impact subsequent iterations. 
> 
> ... added to the fact that many current languages make such side-effects
> difficult to determine.

Well, it depends on how you define "current languages" and "difficult to
determine". Haskell and other purely functional languages make it pretty
easy. The recent stuff with escape analysis in the JVM's could easily be
enhanced to be able to identify at least a good chunk of cases where
there aren't any side effects.

--Chris

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to