Preparing for the 0.2 draft
Mark Mahieu
markmahieu at googlemail.com
Tue Feb 2 08:18:56 PST 2010
On 2 Feb 2010, at 16:02, Neal Gafter wrote:
> On Tue, Feb 2, 2010 at 3:55 AM, Doug Lea <dl at cs.oswego.edu> wrote:
>>> that the kind of errors you're concerned about don't arise
>>> in practice.
>>
>> I don't think that we know very much about this.
>> There is very little experience out there with
>> extensive parallel usages of such constructs, and
>> those few parallel languages that include some form
>> of lambda/closure (including X10 and Fortress) do not
>> hoist scopes.
>
> [Moving conversation to closures-dev]
>
> I don't know whether you consider Scala a "parallel language", and one
> can argue whether or not its use has been "extensive", but there is
> little evidence that Scala's nonlocal transfers [or access to
> enclosing scopes, for that matter] have caused the kind of craziness
> you appear to be worried about.
Out of interest, do you know how Scala's nonlocal transfers are implemented (roughly)? I must admit that BGGA's gave me the jitters before I understood how they would work, but they turned out to really quite mundane, and easy enough to reason about, diagnose problems etc.
Mark
More information about the closures-dev
mailing list