On Thu, Nov 25, 2010 at 01:46:02PM -0000, Parrot wrote:
>  Hello.
> 
>  -1 from me. I think it should be other way around. Implement 3-args math
>  ops in terms of i_* ops. E.g. {{{ $a := $b + $c }}} is same as {{{ $a :=
>  $b; $a += $c }}}. Core PMCs can always fallback 3-args ops to 2-args. HLL
>  can choose different implementation.

Please, no.  An 3-argument inplace add is *not* always the same as
a 2-argument inplace add.  In particular, adding two very large Integers
could result in a BigInt, and I definitely think we should not be morphing
PMCs to achieve that.

Put another way, over time I've come to realize that immutable values 
are a good thing, and inplace operations are the antithesis of that.
Please don't make them the core/default.

Pm
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to