1) The real win advertised (to my reading, which was a bit between the lines) was that something of type "int" would take up less space, so I doubt that will take interations to get working. Speed improvements may also eventually come (or not).
3) But how do you concatenate strings in Perl 6?
-
tye
(but my friends call me "Tye")
| [reply] |
First you are right about the real reading of the win.
But I think that their first implementation should just
work without much worrying about optional optimizations
at all. Attempts to have multiple things that could be
scalars should be a second pass. Attempts to become
smart about it (and not promote those ints to full
scalars at the first moment) might take a while.
As for the third point, Larry will have to decide on a
string concatenation operation other than the current.
Personally I can learn a new concatenation operation
fairly easily. As long as he doesn't pick +, I won't
really care what he does there...
| [reply] |
As for the third point, Larry will have to decide on a string concatenation operation other than the current. Personally I can learn a new concatenation operation fairly easily. As long as he doesn't pick +, I won't really care what he does there...
This point seemed a bit confusing to me, being that so many languages already use the + operator for both addition and string concatenation, why would you be opposed to using + for this particular operation?
| [reply] |