00:30 notable6 left 00:33 nativecallable6 left 00:36 evalable6 left 00:40 committable6 left 00:43 shareable6 left 00:46 quotable6 left 00:48 ingy left 00:49 ingy joined, sourceable6 left 00:58 disbot5 left, disbot6 joined 01:06 lichtkind left 01:13 hulk joined 01:14 kylese left 01:52 arkiuat left 02:04 sacomo left 02:05 arkiuat joined, destroycomputers left, destroycomputers joined 02:09 arkiuat left 02:13 releasable6 left 02:15 hulk left, kylese joined 02:39 arkiuat joined 02:43 arkiuat left 02:44 arkiuat joined 02:49 arkiuat left 03:00 arkiuat joined 03:09 stanrifkin_ joined 03:12 stanrifkin left 03:28 stanrifkin_ left, stanrifkin_ joined 04:17 Aedil joined 04:50 kylese left 04:51 kylese joined 05:45 nort joined 05:56 arkiuat left 06:03 nort_ joined 06:04 arkiuat joined 06:06 nort left 06:08 arkiuat left 06:12 Aedil left 06:53 arkiuat joined 06:58 arkiuat left 06:59 lichtkind joined 07:05 Sgeo left 07:26 arkiuat joined 07:31 arkiuat left 07:54 arkiuat joined 07:58 arkiuat left 08:39 arkiuat joined 08:44 arkiuat left 09:11 arkiuat joined 09:16 arkiuat left 09:58 arkiuat joined 10:03 arkiuat left 10:32 arkiuat joined 10:37 arkiuat left
disbot6 <simon_sibl> Hiii ! I tried NativeCall with Zig, which works => pastecode.dev/s/i0110bd0, I just have 2 questions, why is the TWEAK submethod required for the Str argument (it doesnt pass the .new method if its set as $.name, have to set it as private or then need to make a custom new method), and secondly the explicitly-manage didnt seem to work, the string was being freed and couldnt be printed then, is it a bug or did I use it 10:38
wrong ?
lizmat patrickb nine ^^
disbot6 <simon_sibl> when I add is rw to the zhuman_init native signature then the explicitly-manage works, but without, it frees it I think 10:41
<simon_sibl> (I mean with is rw added to the Str argument in zhuman_init the explicitly-manage works so I dont need to allocate for the name field in the Zig code, which was the workaround since explicitly-manage didnt work without I discover the is rw) 10:45
10:53 merp left 10:55 merp joined 10:57 arkiuat joined 11:01 gfldex joined 11:02 arkiuat left 11:13 tobs left 11:14 tobs` joined, tobs` is now known as tobs 11:20 arkiuat joined 11:23 Geth left 11:24 arkiuat left 11:26 Geth joined 11:37 kylese left 11:40 kylese joined 11:58 arkiuat joined
disbot6 <antononcube> @simon_sibl Congratulations! I never figured out Zig and what is the big deal about it. 12:03
12:03 arkiuat left
wayland weekly: wayland.github.io/blog/raku/genera...bsites.xml 12:11
lizmat: Does that mean that the weekly-noting-bot is down?
lizmat yeah.. looks like
I hopefully gave it a kick (well, actually a commit to its repo should force a restart) 12:13
wayland weekly: wayland.github.io/blog/raku/genera...bsites.xml
OK, I'll try that again when I come back from my walk :)
lizmat once notable6 returns, you can do that
disbot6 <simon_sibl> oh I love Zig 😆 12:27
12:56 melezhik joined
wayland weekly: wayland.github.io/blog/raku/genera...bsites.xml 13:01
lizmat sadly, notable6 hasn't returned yet
wayland OK. I'll try again; probably tomorrow.
lizmat I've posted it on r/rakulang and c/rakulang 13:03
ab5tract simon_sibl: just out of curiosity , did you see my benchmark blog posts re: using zig with Raku? 13:50
Here it is, in case it can prove useful in some way 5ab5traction5.bearblog.dev/an-init...raku-code/ 13:51
disbot6 <simon_sibl> I will take a look, thanks ! 13:52
ab5tract It looks like I found I needed to dupe the string too 13:58
I just saw your issue in the beginner chat. I don’t know if the problem is that explicitly-manage is broken. ISTR that the VM may have moved the string in the meantime 14:01
Meaning that the contract to explicitly-manage may still be holding, as the object has only been moved, rather than collected
Please note that the above is only a theory
I suppose that it could also be that the VM throws away the C string generated for the native call as soon as the call has finished. 14:03
disbot6 <simon_sibl> the Raku+Zig is very interesting, I havent checked the Supply feature yet but the performance boost is impressive 14:27
<simon_sibl> yeah it doesnt throw away when I mark the Str as rw, so at least I can save some memory there 14:28
15:02 amaz0n joined 15:15 disbot6 is now known as disbot 15:16 melezhik left, amaz0n left, amaz0n joined 15:33 wayland left, wayland joined 16:26 Aedil joined 16:39 amaz0n left 16:45 human_blip left 16:46 human_blip joined 18:07 charsbar left, charsbar joined
disbot <melezhik.> Hi community) there is some Sparrow discussion going on here - github.com/melezhik/Sparrow6/issues/9 and here github.com/melezhik/Sparrow6/issues/8 feel free to comment here as I would like to show theses questions to broader audience before jumping to any decisions, thanks 🙏 18:15
18:15 Sgeo joined 19:02 oodani left 19:05 oodani joined 19:09 coverable6 left, bisectable6 left, linkable6 left, unicodable6 left, greppable6 left, tellable6 left, bloatable6 left, benchable6 left, AlexDaniel joined 19:15 tellable6 joined, coverable6 joined, quotable6 joined, benchable6 joined, unicodable6 joined 19:17 sourceable6 joined 19:20 notable6 joined 19:40 bisectable6 joined, Aedil left 19:43 evalable6 joined 19:45 evalable6__ joined 19:46 committable6 joined 19:48 linkable6 joined 19:49 evalable6__ left 19:50 evalable6 left, shareable6 joined, shareable6 left 19:51 committable6 left 19:52 bisectable6 left 19:54 shareable6 joined, bisectable6 joined 19:55 evalable6 joined, linkable6 left 19:56 linkable6 joined 20:10 oodani left 20:12 oodani joined 20:18 AlexDaniel left 21:52 dpk left 21:54 dpk joined
lizmat weekly: wayland.github.io/blog/raku/genera...bsites.xml 22:20
notable6 lizmat, Noted! (weekly)
disbot <librasteve> yay 22:23
22:24 lichtkind left 23:17 vrurg left 23:29 vrurg joined 23:50 stanrifkin_ left