List Info

Thread: Re: Warning on += on hash element passed to subroutine




Re: Warning on += on hash element passed to subroutine
user name
2007-09-16 10:52:26
On 9/16/07, Nicholas Clark <nickccl4.org> wrote:
>
> I'm not sure how to fix this, and I doubt that it will
get fixed before 5.10,
> but it would be nice to fix it.
>
> Nicholas Clark

possibly by implementing STM Software Transactional Memory ?
 Just something
to think about.

Re: Warning on += on hash element passed to subroutine
user name
2007-09-16 11:23:00
On Sun, Sep 16, 2007 at 10:52:26AM -0500, David Nicol
wrote:
> On 9/16/07, Nicholas Clark <nickccl4.org> wrote:
> >
> > I'm not sure how to fix this, and I doubt that it
will get fixed before 5.10,
> > but it would be nice to fix it.
> >
> > Nicholas Clark
> 
> possibly by implementing STM Software Transactional
Memory ?  Just something
> to think about.

I think it unlikely that anyone will ever implement STM for
the perl 5 core,
given that the data access API is "poke inside these
data structures".

My understanding of STM is that one needs a way to hook into
all the read and
write accesses to data, which would mean replacing all the
(fast) macro
access with slow(er) function calls. This would give all
users of Perl 5 a
performance penalty, not just those wanting STM.

I think that Perl 6 is likely to arrive before STM for Perl
5.

Nicholas Clark

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )