Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:06 reportable6 left 00:07 reportable6 joined 01:29 [Coke] left 01:34 [Coke] joined 01:36 Kaipei left 01:40 Kaiepi joined 02:17 discord-raku-bot left, discord-raku-bot joined 02:36 Kaiepi left 03:36 bloatable6 left, linkable6 left, reportable6 left, releasable6 left, committable6 left, statisfiable6 left, quotable6 left, bisectable6 left, notable6 left, sourceable6 left, evalable6 left, tellable6 left, nativecallable6 left, shareable6 left, coverable6 left, benchable6 left, greppable6 left, unicodable6 left, statisfiable6 joined, sourceable6 joined, greppable6 joined, unicodable6 joined 03:37 bisectable6 joined, bloatable6 joined, coverable6 joined 03:38 tellable6 joined, reportable6 joined, notable6 joined, nativecallable6 joined, evalable6 joined, benchable6 joined, shareable6 joined, linkable6 joined, quotable6 joined, committable6 joined 03:39 releasable6 joined 04:43 Kaiepi joined
Nicholas good UGT, * 05:47
06:06 reportable6 left 06:10 reportable6 joined
lizmat Nicholas o/ 06:20
Nicholas \o
09:09 coverable6 left, nativecallable6 left, releasable6 left, committable6 left, notable6 left, statisfiable6 left, benchable6 left, shareable6 left, quotable6 left, greppable6 left, reportable6 left, bloatable6 left, linkable6 left, evalable6 left, unicodable6 left, bisectable6 left, sourceable6 left, tellable6 left, bloatable6 joined, benchable6 joined, notable6 joined, committable6 joined 09:10 nativecallable6 joined, statisfiable6 joined 09:11 sourceable6 joined, quotable6 joined, unicodable6 joined, evalable6 joined, linkable6 joined, greppable6 joined, shareable6 joined, tellable6 joined, coverable6 joined, bisectable6 joined, reportable6 joined 09:12 releasable6 joined 10:32 sena_kun left 10:34 sena_kun joined
[Coke] waves good day from behind his k-cup of quick caffeine 11:20
11:34 linkable6 left, evalable6 left 11:35 linkable6 joined, evalable6 joined 11:55 Xliff joined
Xliff m: use NativeCall; my \mallocParams = :(size_t --> Pointer); mallocParams.say; sub a (&c:(|mallocParams), Int() $s) { my size_t $ss = $s; &c($ss).say; }; sub malloc (size_t --> Pointer) is native {*}; malloc(20).say; a(&malloc, 20); 11:55
camelia (NativeCall::Types::size_t --> NativeCall::Types::Pointer)
Cannot resolve caller protect(Lock:U: Block:D); none of these signatures matches:
(Lock:D: &code, *%_)
in method setup at /home/camelia/rakudo-m-inst-2/share/perl6/core/sources/871…
Xliff Hmmm... I get "Signature constraint check failed in binding to parameter '&c'; expected :(|mallocParams) but got :(NativeCall::Types:..."
That almost looks like a way to attach function pointers to a symbol, which I desperately need. What kind of changes would it take to make it work?
(...originally asked on #raku-dev)
12:07 reportable6 left 12:09 reportable6 joined 13:48 discord-raku-bot left, discord-raku-bot joined 13:53 discord-raku-bot left, discord-raku-bot joined 14:20 sena_kun left 14:21 sena_kun joined 16:02 crystalfrost[m] left 18:07 reportable6 left 18:08 reportable6 joined 20:07 Techcable left, Techcable joined 20:23 discord-raku-bot left, discord-raku-bot joined 20:24 gfldex left 20:26 gfldex joined 20:28 discord-raku-bot left, discord-raku-bot joined 20:59 discord-raku-bot left, discord-raku-bot joined 21:26 discord-raku-bot left, discord-raku-bot joined 22:26 evalable6 left, linkable6 left 22:27 evalable6 joined 22:28 linkable6 joined