github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
MasterDuke samcv: what is the code you're running under heaptrack? 00:47
anyone: any reason not to merge the two PRs of mine? github.com/MoarVM/MoarVM/pull/1059 and github.com/MoarVM/MoarVM/pull/1038 00:53
timotimo not from me 00:57
timotimo runs away for like a whole day
Geth MoarVM: bfbfd0c193 | (Daniel Green)++ | 2 files
JIT sp_bind_i32
01:15
MoarVM: d35d48a1d8 | MasterDuke17++ (committed using GitHub Web editor) | 2 files
Merge pull request #1059 from MasterDuke17/jit_sp_bind_i32

JIT sp_bind_i32
MoarVM: 28e2b38bc1 | (Daniel Green)++ | 10 files
Add a smrt_intify op
01:21
MoarVM: 37a26a1c8d | MasterDuke17++ (committed using GitHub Web editor) | 10 files
Merge pull request #1038 from MasterDuke17/add_smrt_intify

Add smrt intify op
MoarVM: MasterDuke17++ created pull request #1066:
Right type for null in MVM_coerce_smart_intify
02:15
MoarVM: abdddb0186 | MasterDuke17++ (committed using GitHub Web editor) | src/core/coerce.c
Right type for null in MVM_coerce_smart_intify (#1066)
02:16
MoarVM: vrurg++ created pull request #1067:
Improve check for used toolchain on macOS
02:37
07:03 domidumont joined 07:07 lizmat joined
samcv MasterDuke, loop { my $cmd = run Ā« cat ubuntu.iso Ā», :out; $cmd.out.close } 07:08
07:15 brrt joined 07:37 lizmat left 09:29 zakharyas joined 09:41 zakharyas left 10:04 brrt left 10:45 lizmat joined 10:48 brrt joined 10:51 domidumont left 10:52 lizmat left 11:07 lizmat joined 11:47 AlexDaniel left 11:51 brrt left 11:54 lizmat left 12:19 lizmat joined 12:36 lizmat left 12:37 lizmat joined, lizmat left 12:39 lizmat joined 12:48 domidumont joined 12:57 lizmat left 13:02 AlexDaniel joined 13:06 lizmat joined 13:13 lizmat left 13:30 lizmat joined 13:31 lizmat left 13:48 lizmat joined 13:49 lizmat left 13:52 lizmat joined, lizmat left 13:56 lucasb joined, lizmat joined 13:57 lizmat left 13:58 lizmat joined 14:03 lizmat left 14:07 lizmat joined 14:09 lizmat left 14:10 domidumont1 joined 14:11 lizmat joined, lizmat left 14:13 domidumont left 14:14 robertle joined 14:22 lizmat joined, lizmat left 14:23 lizmat joined, lizmat left 14:32 lizmat joined 14:33 lizmat left 14:49 lizmat joined 14:53 lizmat left 15:40 brrt joined 16:07 brrt left 16:24 AlexDaniel left 16:50 domidumont joined 16:52 domidumont1 left 17:03 domidumont left 18:05 lucasb left 18:11 AlexDaniel joined 19:10 brrt joined 20:01 andrzejku joined
andrzejku hello 20:01
brrt hi andrzejku 20:03
andrzejku those mast files 20:04
why they are not a part of nqp?
brrt I don't really know the answer to that 20:07
timotimo because they are created from moarvm sources :)
brrt well, that's a good reason :-)
andrzejku timotimo, you mean C files into NQP? 20:08
and then NQP to MOARVM
timotimo not exactly 20:10
the source is src/core/oplist (and also there's a few nqp functions in it that are included from somewhere) 20:11
and that generates a header file for moarvm's own use and the nqp and p6 files
Geth MoarVM: ea83e229ba | (Timo Paulssen)++ | src/6model/reprs/ConcBlockingQueue.c
ConcBlockingQueue: implement unmanaged_size for heap profiler
20:15
MoarVM: 834db592b5 | (Timo Paulssen)++ | src/6model/reprs/MVMSpeshLog.c
MVMSpeshLog: implement describe_refs for heap profiler
20:17 brrt left
andrzejku what about files /usr/lib64/perl6/perl6/precomp/ 20:18
timotimo so, i have a describe_refs for ConcBlockingQueue that's supposed to give every object in there an index
andrzejku precomp
timotimo but my attempts to put that in gave me very strange results
even though i modelled it closely after gc_mark
andrzejku are they necessary for perl6 runtime?
timotimo i mean ... rm them and try it out? %) 20:19
or strace some common tasks to see if they are accessed
andrzejku timotimo, : ( help 20:34
Unhandled exception: Cannot call method 'load_setting' on a null object
at <unknown>:1 (/usr/lib64//perl6/runtime/ModuleLoader.moarvm:<dependencies+deserialize>)
timotimo, aff my wife is calling me but I will back with question later 20:37
21:08 andrzejku left, andrzejku joined
timotimo did you delete the precomp files? 21:49
21:49 andrzejku left 21:50 andrzejku joined
timotimo just reinstall it :) 21:51
MasterDuke samcv: and you used heaptrack to profile? 22:08
22:10 andrzejku left, andrzejku joined 22:31 andrzejku left, andrzejku joined 22:34 andrzejku left 22:55 squashable6 left 22:57 squashable6 joined
timotimo ouchies! 23:11
there's some confusion as to what the "count"/"size" parameter for read_buf should be interpreted as; bytes or bis 23:13
bits
MasterDuke !! 23:16
who/what is confused?
timotimo jit vs interp 23:17
MasterDuke i can imagine that causing problems
timotimo i don't understand a part of it
it's about endian switching apparently 23:18
OK, so flags & 1 would give true only for ENDIAN_LITTLE 23:20
so that's basically "do we need to endian switch"
no, i don't get this at all i don't think 23:21
what the fuuuuuuuck 23:31
m: use nqp; say BEGIN nqp::bitor_i(nqp::const::BINARY_SIZE_64BIT, NativeEndian)
camelia ===SORRY!=== Error while compiling <tmp>
An exception occurred while evaluating a BEGIN
at <tmp>:1
Exception details:
===SORRY!=== Error while compiling
Unknown constant 'BINARY_SIZE_64BIT'
at :
timotimo m: use nqp; say BEGIN nqp::bitor_i(nqp::const::BINARY_SIZE_64_BIT, NativeEndian)
camelia 12
timotimo m: use nqp; say nqp::bitor_i(nqp::const::BINARY_SIZE_64_BIT, NativeEndian)
camelia 12
timotimo m: use nqp; sub doit() { my $val = nqp::bitor_i(nqp::const::BINARY_SIZE_64_BIT, NativeEndian); say $val if $val != 12 }; for ^100_000 { doit } 23:34
camelia ( no output )
timotimo m: use nqp; sub doit() { my $val = BEGIN nqp::bitor_i(nqp::const::BINARY_SIZE_64_BIT, NativeEndian); say $val if $val != 12 }; for ^100_000 { doit }
camelia ( no output )
timotimo m: use nqp; sub doit() { my $val = nqp::add_i(1, BEGIN nqp::bitor_i(nqp::const::BINARY_SIZE_64_BIT, NativeEndian)); say $val if $val != 13 }; for ^100_000 { doit }
camelia ( no output )
timotimo i ... what ... 23:38
m( 23:41
wrong install prefix
23:48 lizmat joined
timotimo the bug isn't there in master, clearly 23:49
23:58 lizmat left