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:08 reportable6 left 00:09 reportable6 joined 00:24 frost joined 00:44 Techcable left 00:58 frost left 01:01 linkable6 joined 01:40 Techcable joined 03:05 linkable6 left, releasable6 left, evalable6 left 03:06 linkable6 joined 04:06 releasable6 joined 04:58 frost joined 05:08 evalable6 joined 05:49 frost left 06:08 reportable6 left 06:09 reportable6 joined 07:18 squashable6 left, quotable6 left, notable6 left, greppable6 left, evalable6 left, committable6 left, linkable6 left, coverable6 left, bloatable6 left, shareable6 left, unicodable6 left, tellable6 left, bisectable6 left, benchable6 left, reportable6 left, statisfiable6 left, nativecallable6 left, sourceable6 left, releasable6 left, greppable6 joined, notable6 joined 07:19 unicodable6 joined, reportable6 joined, squashable6 joined 07:20 nativecallable6 joined, evalable6 joined, shareable6 joined 07:21 sourceable6 joined 08:18 statisfiable6 joined 08:19 quotable6 joined, tellable6 joined, linkable6 joined, coverable6 joined 08:20 bloatable6 joined, committable6 joined, bisectable6 joined
Nicholas good *able6, #moarvm 08:30
09:20 releasable6 joined 09:21 benchable6 joined
Geth MoarVM: nwc10++ created pull request #1671:
Remove temporary define for migrating Rakudo extops
10:07
Nicholas ##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form aka.ms/azpipelines-parallelism-request 10:09
er right. I *think* that someone within "our" "Azure DevOps Organization" likely needs to do this. 10:11
but right now, we seem to be stuck in a fog of default-fail
10:23 linkable6 left 11:13 squashable6 left 11:24 linkable6 joined
lizmat good *, #moarvm 11:33
so I started working on really using uint in the core for all of those pesky cases where we need to check for < 0
so I reduced the AT-POS for native arrays taking a uint as index
multi method AT-POS(intarray:D: uint $idx --> int) is raw { 11:34
nqp::atposref_i(self,$idx)
}
this is still slower than the Int:D variant, because it doesn't get inlined
AT-POS BB(7284, 76 bytes) -> BB(1):
target has a :noinline instruction - ins: param_rp_o
what am I missing?
Nicholas (Hi. I don't know enough to even start to answer this) 11:35
lizmat neither... but I hope MasterDuke or nine will be able to have an idea 11:36
nine lizmat: logs.liz.nl/moarvm/2022-02-06.html#16:49 11:57
lizmat aaah... ok, I thought that had already made it into the release 11:58
nine: btw, it's irclogs.raku.org nowadays :-)
ok /me needs to be a little more patient then
12:07 reportable6 left 12:10 reportable6 joined 13:13 squashable6 joined
lizmat m: multi a(uint) { dd }; multi a(Int:D) { dd }; a 10 # nine, would your work have it dispatch to the uint candidate ? 13:23
camelia sub a(Int:D)
lizmat OOC
jnthnwrthngtn I think the only way a literal ends up getting passed as a native is if there's another argument that is a native and it's a multi-sub dispatch so the optimizer can do the transform 13:52
Nicholas lizmat: "but I hope MasterDuke or nine" - you got jnthnwrthngtn - hopefully second best will do :-) 14:21
14:26 Kaipi left 14:27 Kaipi joined 15:27 evalable6 left, linkable6 left 16:27 releasable6 left, quotable6 left, benchable6 left, squashable6 left, greppable6 left, coverable6 left, unicodable6 left, bisectable6 left, tellable6 left, notable6 left, statisfiable6 left, nativecallable6 left, shareable6 left, sourceable6 left, committable6 left, reportable6 left, bloatable6 left 16:28 evalable6 joined, notable6 joined 16:29 unicodable6 joined, bisectable6 joined, quotable6 joined, greppable6 joined, sourceable6 joined, statisfiable6 joined, shareable6 joined
nine Right now the optimiyer isn't smart enough to pass a native for a literal, even in multi dispatch. That's exactly the optimization opportunity I'm in the process of investigating 16:30
17:28 benchable6 joined, reportable6 joined 17:29 nativecallable6 joined 17:51 Altai-man left 17:52 sena_kun joined 18:07 reportable6 left, reportable6 joined 18:27 coverable6 joined, squashable6 joined 18:28 tellable6 joined, bloatable6 joined 18:29 releasable6 joined 19:27 linkable6 joined
lizmat nine: would this be the way to make $_ a uint on simple loops? 19:59
gist.github.com/lizmat/633bdd2a454...ed5c53d879
also timo ^^ 20:01
20:11 MasterDuke joined
nine lizmat: yes. 20:51
21:11 evalable6 left, linkable6 left 21:12 evalable6 joined 21:54 dogbert11 joined 21:56 dogbert17 left 22:13 linkable6 joined 22:18 dogbert17 joined 22:20 dogbert11 left 22:27 committable6 joined 22:53 dogbert11 joined 22:55 dogbert17 left 23:55 linkable6 left, evalable6 left