🦋 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.
timo when we compile the core setting, we now specialize the proto token 'twigil' to check if a fate is the one for twigil:<.> and directly invoke the corresponding bytecode object (and deopt if it doesn't match) 00:16
jdv what does it mean? 00:39
timo in this case i think the twigil proto token was called 150 times and out of those 150 times 1 called out to twigil:<.> and the other 149 were not matches, and then spesh made a plan to optimize it, saw that the only thing that has happened so far was a call to twigil:<.> so it optimized for that case if it ever gets into the loop where it goes through the fates 01:44
lizmat Q: given 10:09
lizmat m: role A[$a,$b] { }; my $a = A[Str,Int].^pun 10:09
camelia ( no output )
lizmat do we have a way to introspect the Str / Int parts of the parameterization without resorting to picking apart the stringification ? 10:10
notable6: weekly 12:14
notable6 lizmat, 3 notes: gist.github.com/3bf3f67b8c5737669b...6256d92086
lizmat notable6: weekly reset 12:16
notable6 lizmat, Moved existing notes to “weekly_2025-03-03T12:16:36Z”
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2025/03/03/2025-...ting-down/ 12:57
timo role A[$a,$b] { }; my $a = A[Str,Int].^pun; say $a.^roles[0].^role_arguments.raku 13:52
evalable6 (Str, Int)
Geth rakudo/main: 5 commits pushed by (Stefan Seifert)++ 14:38
nine 1245
PSA: don't expect any more for the next few days. Wrote that last fix in the doctor's waiting room. Cought me some stomach flu and my challenge for the next period of time is to get some water down 14:39
timo i wish you a speedy recovery, that sounds very uncomfortable 14:45
nine Zero stars. Don't recommend. 15:05
[Coke] nine: get well soon, sorry! 15:13
lizmat nine: get well soon, recommendation saved for future reference 16:14
SmokeMachine: looks like there are two versions of your blog post live 16:25
SmokeMachine Really, I’ve archived the first one… :( let me take a look… 16:26
coleman feel better none 16:28
tellable6 2025-02-23T11:08:04Z #raku-dev <finanalyst> coleman could we have a conversation over Jitsi/Zoom as soon as possible? I have three topics: new Caddy (v2), online REPL, setting up new version of raku site (I think we may have misunderstood each other)
coleman nine
finanalyst, sure thing. i will send you an email! 16:29
finanalyst coleman, just got a new version working. Try new-raku.finanalyst.org 16:30
SmokeMachine Odd, it shows me it as archived…
coleman Looks great, and more responsive 16:31
finanalyst also multilingual UI
search is slightly different 16:32
lizmat SmokeMachine: maybe archived still means it's live
just not able to receive comments anymore
coleman finanalyst, can i drop a jitsi link? i have some time now
finanalyst definitely
SmokeMachine I think I unpublished it
coleman meet.jit.si/raku-doc-website 16:33
SmokeMachine lizmat: The thanks for keep helping me… :) 16:34
[Tux] Rakudo v2025.02-111-g8f0d6636f (v6.d) on MoarVM 2025.02-7-ge480f2db7
csv-ip5xs0.267 - 0.267
csv-ip5xs-201.132 - 1.135
csv-parser1.115 - 1.170
csv-test-xs-200.139 - 0.139
test1.897 - 1.914
test-t0.412 - 0.414
test-t --race0.268 - 0.287
test-t-205.071 - 5.127
test-t-20 --race1.280 - 1.295
16:39
tux.nl/Talks/CSV6/speed4-20.html / tux.nl/Talks/CSV6/speed4.html tux.nl/Talks/CSV6/speed.log
lizmat m: sub a(|c, |d) { dd c, d }; a 42, 666 # TIL this is legal 17:53
camelia \(42, 666)
\(42, 666)
lizmat m: Q/sub a(|c, |d) { dd c, d }/.AST 17:54
camelia ( no output )
timo m: sub a(|c, $a, |d) { dd c => c, d => d, :$a }; a 42, 123, 666 17:55
camelia ===SORRY!=== Error while compiling <tmp>
Cannot put required parameter $a after variadic parameters
at <tmp>:1
------> sub a(|c, $a<HERE>, |d) { dd c => c, d => d, :$a }; a 42,
expecting any of:
constraint
timo m: sub a(|c, $a?, |d) { dd c => c, d => d, :$a }; a 42, 123, 666
camelia ===SORRY!=== Error while compiling <tmp>
Cannot put optional positional parameter $a after variadic parameters
at <tmp>:1
------> sub a(|c, $a?<HERE>, |d) { dd c => c, d => d, :$a }; a 42,
expecting any of:
constraint
timo haha
lizmat m: sub a(|c ($a, $b?), |d ($c, $d?)) { dd :$a, :$b, :$c, :$d, :capc(c), :capd(d) }; a 42, 666 # inspired by a spectest 17:56
camelia :a(42)
:b(666)
:c(42)
:capc(\(42, 666))
:capd(\(42, 666))
:d(666)
Geth rakudo/main: d86d18289f | (Elizabeth Mattijsen)++ | src/Perl6/World.nqp
Make sure we don't die in generating an error message
18:56
Geth rakudo/main: ef0174bb58 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.rakumod
RakuAST: properly deparse a parameter's sub-signature
19:19