🦋 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.
00:00 reportable6 left, reportable6 joined
ab5tract searching google for memmem32 (which we apparently borrowed from FreeBSD prior to FreeBSD abandoning it) returns entirely moarvm related results for me: www.google.com/search?sca_esv=8d54...&dpr=2 00:15
I've spent a bit of time trying to rip it out of moar, but its late and I should sleep 00:18
tl;dr -- `scan` in the regex compiler sets up a MAST `index_s`call that returns a position of -1 for our Very Special Pattern 00:22
`index_s` is based on `memmem32` which is based on fast-but-not-foolproof modulo logic 00:23
releasable6 Next release in ≈6 days and ≈15 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft 03:00
releasable6_ Next release in ≈6 days and ≈15 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft
06:00 reportable6 left 06:03 reportable6 joined 08:15 finanalyst joined
Geth rakudo/main: b213dba738 | (Stefan Seifert)++ | 2 files
RakuAST: proper support for rw native args

For writable native args we need to create lexicalref vars instead of lexicals.
08:19
08:27 sena_kun joined 09:09 sena_kun left 09:34 lizmat_ left, lizmat joined 09:46 finanalyst left 10:02 lizmat left 10:04 lizmat joined 10:12 lizmat left 10:32 lizmat joined 12:00 reportable6 left 12:02 reportable6 joined
Geth rakudo/main: f6cc5d9559 | (Elizabeth Mattijsen)++ | src/Perl6/Metamodel/MethodContainer.nqp
Fix a race condition in Metamodel::MethodContainer.add_method
14:21
nine Oh don't you love these accidental features that make it into tests? 14:31
m: multi f(int $foo is rw) { }; f(42); 14:32
camelia ===SORRY!=== Error while compiling <tmp>
Calling f(Int) will never work with any of these multi signatures:
(int $foo is rw)
at <tmp>:1
------> multi f(int $foo is rw) { }; ⏏f(42);
nine This error is caught at compile time.
m: multi f(int $foo is rw, $bar) { }; f(42, 0);
camelia Cannot resolve caller f(Int:D, Int:D); the following candidates
match the type but require mutable arguments:
(int $foo is rw, $bar)
in block <unit> at <tmp> line 1
nine Add a second arg and it isn't anymore.
[Tux] Rakudo v2024.03-180-gb213dba73 (v6.d) on MoarVM 2024.03-6-gd5dafa9b4
csv-ip5xs0.260 - 0.264
csv-ip5xs-201.122 - 1.132
csv-parser1.535 - 1.574
csv-test-xs-200.141 - 0.143
test1.959 - 1.970
test-t0.419 - 0.423
test-t --race0.275 - 0.278
test-t-205.117 - 5.208
test-t-20 --race1.204 - 1.212
14:48
Geth rakudo/main: 8f568c669b | (Stefan Seifert)++ | 2 files
RakuAST: detect passing single literal to native rw arg at compile time

Not sure why the old frontend handles this case of having a single such argument specially. Let's match it until we know more.
15:10
rakudo/main: dd62a30b85 | (Stefan Seifert)++ | src/Raku/ast/call.rakumod
RakuAST: detect multi dispatch that can never work at compile time
rakudo/main: 1bd789e9bc | (Stefan Seifert)++ | t/02-rakudo/13-exceptions.t
RakuAST: fix test accidentally enforcing a compiler bug

Parameter default should be Any but apparently the old frontend doesn't set it.
rakudo/main: 4 commits pushed by (Elizabeth Mattijsen)++ 16:15
nine LOL took me quite some backtracking to correctly read that word "threadsafed" :D 16:16
ab5tract Threat shaved :) 16:36
Geth rakudo/main: 25573f0c56 | (Elizabeth Mattijsen)++ | src/Perl6/Metamodel/MethodContainer.nqp
Fix Metamodel::MethodContainer.add_method duplicate check

There was a tiny window in which it would be possible to think a method didn't exist yet, and while another thread was busy adding it. Fix by moving the check inside the protected block
16:42
lizmat
.oO( we haz the technology to verb anything )
16:50
nine Verbing weirds language ;) 16:51
Geth rakudo/main: 1ee6bc461e | (Elizabeth Mattijsen)++ | src/Perl6/Metamodel/PrivateMethodContainer.nqp
Fix Metamodel::PrivateMethodContainer.add_private_method duplicate check

There was a tiny window in which it would be possible to think a private method didn't exist yet, and while another thread was busy adding it. Fix by moving the check inside the protected block
16:56
ab5tract What, are we weirding language verbs? 17:06
[Coke] Are. 17:11
ab5tract weird we language verbs? [Coke]++ 17:20
18:00 reportable6 left 18:02 reportable6 joined 20:05 bisectable6 left, bisectable6 joined, coverable6 left, coverable6 joined, nativecallable6 left, nativecallable6 joined 20:06 benchable6 left 20:07 rypervenche left 20:08 rypervenche joined 20:09 benchable6 joined 20:54 sena_kun joined 21:02 finanalyst joined 21:52 lizmat left, lizmat joined 22:11 lizmat_ joined 22:15 lizmat left 22:16 finanalyst left 22:17 sena_kun left, sena_kun joined 22:47 linkable6_ left, sena_kun left, sena_kun joined 22:49 linkable6_ joined 22:52 sena_kun left 22:53 sena_kun joined 22:57 sena_kun left
releasable6_ Next release in ≈5 days and ≈19 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft 23:00
releasable6 Next release in ≈5 days and ≈19 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft