WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
On Fri, Apr 13, 2012 at 3:59 PM, Ludovic Courtès <ludo@...> wrote:
> Noah Lavine <noah.b.lavine@...> skribis:
>> I'm somewhat afraid, however, that the real solution is changing how
>> we deal with parallelism, and that is a much bigger problem.
> And this is where functional setters come in. ;-)
Yes, functional data structures solve this. But the trouble is that
you can't take advantage of this to generate better code unless your
compiler knows that you will never mutate certain variables. Maybe you
could put something together with lots of caching code and
invalidating it if the assumptions change.