#1434: Slim down selection of mathematics vtables
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner:
Type: RFC | Status: new
Priority: normal | Milestone:
Component: core | Version: 2.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-------------------------+--------------------------------------------------
Comment(by bacek):
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.
OTOH, current 3-args ops with $dest _should_ always allocate new PMC for
$dest without reusing old PMC. It's closely related to "lvalue semantics"
ticket.
--
Bacek.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1434#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets