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:00 reportable6 left 00:02 reportable6 joined 01:01 CaCode left 01:29 nine left 01:30 nine joined 02:43 squashable6 left 02:46 squashable6 joined 03:46 reportable6 left, linkable6 left, nativecallable6 left, evalable6 left, tellable6 left, notable6 left, releasable6 left, committable6 left, coverable6 left, sourceable6 left, greppable6 left, shareable6 left, squashable6 left, bisectable6 left, bloatable6 left, quotable6 left, benchable6 left, statisfiable6 left, unicodable6 left, coverable6 joined 03:47 releasable6 joined, sourceable6 joined, bisectable6 joined, linkable6 joined 03:48 reportable6 joined, benchable6 joined, bloatable6 joined, notable6 joined, nativecallable6 joined, greppable6 joined, tellable6 joined, squashable6 joined, unicodable6 joined, quotable6 joined, evalable6 joined 03:49 shareable6 joined, committable6 joined, statisfiable6 joined 04:21 sugarbeet left, sugarbeet joined 05:06 CaCode joined 05:10 CaCode left 06:00 reportable6 left 06:01 reportable6 joined 09:20 timo left 09:21 timo joined
lizmat m: say (^Inf).hyper.grep(*.is-prime).skip(999998).head 09:34
camelia 15485857
lizmat this pretty reliably segfaults for me on an M1 MacMini
12:00 reportable6 left 12:01 reportable6 joined
[Coke] lizmat: need me to try something on the m2? 12:54
lizmat say (^Inf).hyper.grep(*.is-prime).skip(999998).head :-)
[Coke] any particular version? 12:55
12:55 jgaz left 12:56 jgaz joined
lizmat any recent version ? 12:58
haven't been able to get this to fail on Intel hardware 12:59
[Coke] wow, it's not failing but it's so much slower on the m2 than on my old mac mini 14:46
takes 17s on the m2
oh, the mini version I ran was from the SO article with the batch 14:47
with the batch it's just as fast.
no segfault though
v2023.06-241-gcb8d2a125.
lizmat thanks! 15:23
[Coke]: BTW, re Slang::Date: is there a reason why you didn't store an instantiated Date object as a WVal? 15:25
[Coke] I basically stopped thinking about it when the test passed. :) 15:29
ah, I'm not doing the creation at compile time, just setting up a method call. Yah, in a loop that could matter. 15:31
I think I was just copying someone else's example, honestly
I'll open a bug.
lizmat I was just wondering whether there was a reason for it...
I'll make a PR 15:32
[Coke] github.com/coke/raku-slang-date/issues/1 15:33
I don't even have to WRITE CODE!? awesome. :)
If you're writing the code, I'll cut a release within a day 15:46
... error handling, maybe. 15:47
if it changes to a compile time error, that's fine, but we might need to change the test that checks for that.
lizmat right 15:48
if that's ok with you
hmmm.. I think I found out why the Date object is not simply put into QAST 16:28
missing serialization context
we don't seem to have a simple way to put a HLL object into the current serialization context 16:29
?
[Coke]: PR created 16:44
[Coke] does the eval need the use statement? 16:58
(there's one at the top of the test file)
Amazing how much shorter your version is! 16:59
wonder if my use of nok there was a p5 holdover or something. 17:00
lizmat yes, the use inside the eval is needed, since EVAL runs on the stock grammar (unless you tell it otherwise) 17:01
[Coke] aha! 17:46
18:00 reportable6 left, reportable6 joined 22:08 unicodable6 left, benchable6 left, committable6 left, bisectable6 left, greppable6 left, evalable6 left, releasable6 left, notable6 left, quotable6 left, nativecallable6 left, tellable6 left, sourceable6 left, linkable6 left, shareable6 left, reportable6 left, statisfiable6 left, coverable6 left, squashable6 left, bloatable6 left 22:09 greppable6 joined, notable6 joined, squashable6 joined, tellable6 joined, quotable6 joined, bisectable6 joined, nativecallable6 joined 22:10 bloatable6 joined, unicodable6 joined, benchable6 joined, committable6 joined, shareable6 joined, coverable6 joined, linkable6 joined, evalable6 joined 22:11 sourceable6 joined, releasable6 joined, reportable6 joined, statisfiable6 joined 22:33 Util left 22:35 Util joined