🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
Geth rakudo/rakuast: 4 commits pushed by (Stefan Seifert)++ 13:10
rakudo/rakuast: 31f28de6df | (Stefan Seifert)++ | src/Raku/ast/variable-declaration.rakumod
RakuAST: Support natively typed arrays in attributes

Natively typed arrays need to parameterize array instead of Array
13:16
rakudo/rakuast: e5cfb41d22 | (Stefan Seifert)++ | 2 files
RakuAST: Create optimized code for array slot assignment

When assigning into an array slot, we can directly call postcircumfix:<[ ]> with an additional argument.
13:22
Kaiepi i've been chipping away at shaped arrays' various STORE multis for a while, but i don't get something to do with its Iterable:D candidates 13:52
it's specified that it's OK to underfill an array with an Iterable's Iterator, but not produce too many elements github.com/Raku/roast/blob/master/....t#L21-L29 13:53
why? it feels inconsistent 13:55
vrurg Perhaps because holes are ok, but lost elements are not? 13:57
Kaiepi how are lost elements not though? 14:03
vrurg If you overfill a row surplus elements are getting lost, right? 14:03
nine I.e. it's ok to leave parts of a multi dimensional array uninitialized (same as when you don't give it an initializer but instead just assign element by element after construction). But you must not have the initializer write data where there is not place for it. 14:04
Kaiepi attempting to write to an invalid offset is how the error is being generated at the moment 14:08
the elements would be lost, yeah, similarly to taking the .head(...) of the rhs
vrurg Sounds like the principle of early error detection to me. The sooner a problem is detected and reported the easier it is to diagnose the cause. 14:23
[Tux] Rakudo v2022.07-76-gef835615f (v6.d) on MoarVM 2022.07-18-gd22223381
csv-ip5xs0.776 - 0.784
csv-ip5xs-205.074 - 5.378
csv-parser3.457 - 3.700
csv-test-xs-200.411 - 0.422
test6.373 - 6.623
test-t1.382 - 1.447
test-t --race0.806 - 0.809
test-t-2020.247 - 20.984
test-t-20 --race6.457 - 7.017
14:28
Geth rakudo: usev6++ created pull request #5088:
[JVM] Fix defaults for typed optional @/% params
19:42
Geth roast/master: 5 commits pushed by (Ben Davies)++, (Vadim Belman)++ 20:33