🦋 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.
03:13 Voldenet_ joined 03:14 Voldenet left, Voldenet_ is now known as Voldenet 04:13 Voldenet_ joined 04:14 Voldenet left, Voldenet_ is now known as Voldenet
[Coke] tbrowder__: I don't think there's an official supported version. if someone reportsd a bug in an older version, it's best effort. 06:00
09:44 sena_kun joined 09:58 japhb left 10:53 sena_kun left
tbrowder__ ok, but does that mean, 12:15
**** is there any guess as to how new a version is needed? i'm considering getting a refurb mac laptop (for my wife of course!) and wonder how cheap i can get one os-version-wise) and use Raku on it. 12:18
lizmat bisectable6: say grammar A { token TOP { <.print>+ } }.parse("foo") 12:20
bisectable6 lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat, More than 3 changes to bisect, please try a narrower range like old=2023.10 new=HEAD 12:21
lizmat, Output on all releases: gist.github.com/30066099f15010d0ef...ff0e75bae1
lizmat bisectable6: old=2022.01 say grammar A { token TOP { <.print>+ } }.parse("foo")
bisectable6 lizmat, Cannot find revision “2022.01” (did you mean “2022.12”?)
lizmat bisectable6: old=2022.02 say grammar A { token TOP { <.print>+ } }.parse("foo")
bisectable6 lizmat, Bisecting by exit code (old=2022.02 new=9b65e88). Old exit code: 1
lizmat, bisect log: gist.github.com/bc3983f959a3962c55...817525d29c 12:22
lizmat, (2023-11-10) github.com/rakudo/rakudo/commit/bd...accf6d9b3c
12:59 japhb joined 13:04 japhb left
[Tux] Rakudo v2023.11-12-g9b65e880c (v6.d) on MoarVM 2023.11-1-gbe03e26fc
csv-ip5xs0.260 - 0.282
csv-ip5xs-201.131 - 1.148
csv-parser1.587 - 1.588
csv-test-xs-200.140 - 0.140
test1.934 - 2.019
test-t0.421 - 0.440
test-t --race0.282 - 0.288
test-t-205.171 - 5.181
test-t-20 --race1.217 - 1.222
13:23
14:10 japhb joined 14:17 japhb left
vrurg_ What is the fastest way to create most simple closure with the legacy compiler? Like the World.create_thunk, but capturing?' 14:28
14:28 vrurg_ is now known as vrurg
lizmat I have nooo idea 14:31
vrurg I guess so. :) 14:36
Dammit, very simple solution to a really big problem with instantiating generics – and I'm stuck in implementing it because of the gaps in my knowledge. :( 14:37
14:50 sena_kun joined
coleman tbrowder__ I think the only constraint on how old a Raku a mac could support would be compiler tools. 15:45
I would be very surprised if you had any trouble. Worst case scenario is you would have to compile things yourself. But Rakudo compilation is easy. 15:46
nemokosch github.com/Raku/raku.org/pull/184 who would review and merge this? What is needed for it? 15:59
coleman It looks good to go. But it's late in Mumbai for andinus, and I'd rather merge while he's chipper 16:24
nemokosch fair, thank you 16:26
I don't mean to rush things, it's just often not obvious who the "person of contact" is
coleman No problem. I think it will be a nice improvement to move onto a new framework 16:40
ab5tract I’ve been playing with Raku / Zig interop. There’s an advent post with the frame story coming in a week or two but in the mean time I thought folks might be interested to read some timings and see some example code: gist.github.com/ab5tract/61e08cfaf...n-notes-md
nemokosch this is very educational 16:44
did you have to do anything on the Zig side for C ABI compatibility? 16:45
ab5tract Beyond declaring the struct `extern`, nothing at all :) 16:49
there’s some conversion from the C-style strings to the more common spans, using for example `std.mem.span(address)` to conform to the signatures of the Zig sodlib. 16:51
*stdlib
But that’s just normal pointer juggling in Zig
nemokosch so Str is mapped to char* basically? 16:55
ab5tract Precisely 16:56
in zig that’s `[*:0]const u8` a pointer to a zero-terminated array of unknown length 16:57
Of _knowable_, but unknown, length 16:58
nemokosch gotcha
18:04 japhb joined 18:19 japhb left, japhb joined 18:43 japhb left 18:48 japhb joined 18:56 japhb left 18:57 japhb joined
Geth rakudo/main: ecea487844 | (Patrick Böker)++ | src/core.c/Promise.rakumod
Microoptimize Promise.then(:synchronous)

Thanks to japhb for idea and implementation.
20:34
21:48 sena_kun left 21:49 sena_kun joined 22:23 AlexDaniel joined 22:56 sena_kun left 23:25 AlexDaniel left