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:01 samcv joined 00:07 reportable6 left 01:07 reportable6 joined 02:21 nativecallable6 left, unicodable6 left, committable6 left, bloatable6 left, greppable6 left, shareable6 left, notable6 left, releasable6 left, bisectable6 left, squashable6 left, quotable6 left, benchable6 left, evalable6 left, sourceable6 left, reportable6 left, tellable6 left, linkable6 left, statisfiable6 left, coverable6 left, nativecallable6 joined 02:22 coverable6 joined, reportable6 joined, quotable6 joined, benchable6 joined, tellable6 joined 02:23 unicodable6 joined, notable6 joined, greppable6 joined, statisfiable6 joined, committable6 joined, squashable6 joined 02:24 releasable6 joined 02:35 Kaipi left, Kaipi joined 03:14 frost joined 03:21 evalable6 joined 03:22 shareable6 joined, linkable6 joined 03:23 bisectable6 joined 03:41 frost left 04:06 discord-raku-bot left 04:07 discord-raku-bot joined 05:03 Kaipi left 05:04 Kaipi joined 05:22 bloatable6 joined 05:51 camelia left, kjp left, Geth left, codesections left, ilogger2 left 05:52 dogbert11 left, ilogger2 joined, codesections joined, Geth joined, kjp joined 05:53 bloatable6 joined, Kaipi joined, discord-raku-bot joined, bisectable6 joined, linkable6 joined, shareable6 joined, evalable6 joined, releasable6 joined, squashable6 joined, committable6 joined, statisfiable6 joined, greppable6 joined, notable6 joined, unicodable6 joined, tellable6 joined, benchable6 joined, quotable6 joined, reportable6 joined, coverable6 joined, nativecallable6 joined, samcv joined, AlexDaniel joined, psydroid joined, Altai-man joined, nebuchadnezzar joined, colemanx joined, dogbert11 joined, MasterDuke joined, Techcable joined, Voldenet joined, japhb joined, mst_ joined, vrurg joined, [Coke] joined, timo joined, tbrowder joined, RakuIRCLogger joined, lizmat joined, TempIRCLogger joined, nine joined, harrow joined, moon-child joined, leedo joined, JRaspass joined, jdv joined, leont joined, rba joined, bartolin_ joined, gfldex joined, patrickb joined, Nicholas joined, SmokeMachine joined, ugexe joined, jnthnwrthngtn joined, rypervenche joined, Util joined, samebchase joined 06:02 camelia joined 06:08 reportable6 left 07:08 evalable6 left, linkable6 left 07:10 reportable6 joined, linkable6 joined 07:37 linkable6 left
Nicholas [* GOOD *] 07:38
08:10 frost joined 08:40 linkable6 joined 08:44 frost left 08:48 squashable6 left 09:10 frost joined 09:11 linkable6 left 09:13 coleman-x joined, colemanx left 09:22 sourceable6 joined 09:36 frost left 09:48 squashable6 joined 11:09 evalable6 joined 11:13 linkable6 joined 11:27 sena_kun joined 12:08 reportable6 left 12:09 reportable6 joined 13:08 discord-raku-bot left, discord-raku-bot joined 15:12 quotable6 left, committable6 left, bloatable6 left, nativecallable6 left, reportable6 left, bisectable6 left, greppable6 left, notable6 left, shareable6 left, tellable6 left, benchable6 left, linkable6 left, coverable6 left, releasable6 left, unicodable6 left, evalable6 left, squashable6 left, statisfiable6 left, sourceable6 left, evalable6 joined 15:13 notable6 joined, committable6 joined, statisfiable6 joined 15:14 shareable6 joined, sourceable6 joined, tellable6 joined 15:15 bisectable6 joined, releasable6 joined
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/02/14/2022-...-released/ 15:57
m: use nqp; say nqp::iseq_i(my uint $ = 18446744073709551615,-1) # nine, I wonder if we're also going to need iseq_u and related ops 16:11
camelia 1
16:13 squashable6 joined 16:14 coverable6 joined, bloatable6 joined, nativecallable6 joined, benchable6 joined, quotable6 joined
timo iseq_ui you mean? 16:43
17:12 greppable6 joined 17:14 linkable6 joined 18:08 reportable6 joined 18:21 sena_kun left 19:13 unicodable6 joined 19:17 vrurg left 19:18 vrurg joined, vrurg left, vrurg joined, vrurg left 19:19 vrurg joined 19:26 vrurg left 20:25 vrurg joined, vrurg left
nine I'm not sure that would be useful. If there was an nqp::iseq_u, then if you have to variables with values 18446744073709551615 and -1 respectively and you wanted to compare them with iseq_u, you'd have to type cast the int to uint first (QASTCompilerMAST will do that for you) and the result would still be the same, i.e. true. 21:34
21:35 linkable6 left 21:38 linkable6 joined
lizmat I was more thinking an iseq_u would first check whether the sign bit is the same when given mixed uint int types 21:46
if they are not the same, then the values are not the same
when given two ints or two uints, just compare the bits
does that make sense? 21:47
nine No, it doesn't, because the op mandates what the input types are and an iseq_u would obviously take 2 uints and that's what the compiler has to give it 22:06
japhb nine: I think that may be why timo commented about iseq_ui
nine So the compiler has to generate the coercion code and then the iseq_u op cannot know that 18446744073709551615 once was -1
So the compiler has to generate the coercion code and then the iseq_u op cannot know that 18446744073709551615 once was -1 22:07
japhb To check if a uint and an int were the same
nine indeed
22:08 linkable6 left 22:10 linkable6 joined
lizmat nine: ok, I now understand the problem :-) 23:23