github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
00:15 avar left, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 00:16 p6bannerbot sets mode: +v avar 00:20 lizmat left 00:24 MasterDuke left 00:35 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke
MasterDuke might find this interesting www.mono-project.com/news/2018/09/...harp-jit/, "writing a jit compiler in c#" 00:35
01:33 ilogger2 joined, p6bannerbot sets mode: +v ilogger2 02:17 hggdh2 joined 02:22 hggdh2 left 02:49 avar joined, p6bannerbot sets mode: +v avar 03:32 ggoebel joined, p6bannerbot sets mode: +v ggoebel
Geth MoarVM: jstuder-gh++ created pull request #964:
Fix wrong field in exprjit cast template and add macro
03:35
03:42 spacekookie5 joined 03:48 spacekookie5 left 05:31 bandini24 joined 05:36 bandini24 left
Geth MoarVM: 3388d1229b | (Jeremy Studer)++ | 2 files
Fix wrong field in exprjit cast and add macro

In the 'objprimbits' template, accidently used the wrong field name for cast's from_size value ('boxed_primitive' instead of 'bits').
In this case, 'boxed_primitive' and 'bits' are both the same size, but that doesn't make it less wrong just less painfully wrong 😉.
Added a macro that makes this idiom more DRY and less prone to this type of error.
07:36
MoarVM: da2072b57e | (Bart Wiegmans)++ | 2 files
Merge remote-tracking branch 'jstuder/exprjit_sm_template_err'
07:54 lizmat joined 07:55 p6bannerbot sets mode: +v lizmat 08:10 dezka25 joined 08:12 dezka25 left 08:31 avar left 08:48 avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 08:49 p6bannerbot sets mode: +v avar
nine Compiling labels + fixup was surprisingly easy after a good night's sleep. Now on to calls which are...much more involved. 09:08
yoleaux 13 Sep 2018 21:42Z <japhb> nine: Inline::Python won't build for me at Rakudo HEAD
09:49 Roche joined 09:54 Roche left 10:15 patrickz joined, p6bannerbot sets mode: +v patrickz 10:27 lizmat_ joined, p6bannerbot sets mode: +v lizmat_ 10:29 lizmat left 10:43 lizmat_ is now known as lizmat 11:17 Jaca777 joined 11:18 Jaca777 left 11:50 zakharyas joined 11:51 p6bannerbot sets mode: +v zakharyas 12:03 zakharyas left 12:04 zakharyas joined 12:05 p6bannerbot sets mode: +v zakharyas 12:06 zakharyas left 12:09 zakharyas joined 12:10 p6bannerbot sets mode: +v zakharyas 12:50 zakharyas left 13:17 ZzZombo_ joined, p6bannerbot sets mode: +v ZzZombo_ 13:19 ZzZombo_ is now known as ZzZombo 13:55 patrickz left 14:05 avar left, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 14:06 p6bannerbot sets mode: +v avar 14:25 ZzZombo left 14:26 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo
AlexDaniel M#2280 interesting ticke 14:56
t
R#2280
synopsebot R#2280 [open]: github.com/rakudo/rakudo/issues/2280 [math][regression] Core dump in sequence when iterator is dividing by a negative number
timotimo have we tried jit and such yet? 15:03
i.e. turning off the jit
AlexDaniel c: MVM_JIT_DISABLE=1 HEAD say (11**5, */-2 … 0)[31]
committable6 AlexDaniel, ¦HEAD(ed9b48d): « «exit signal = SIGFPE (8)»»
AlexDaniel c: MVM_SPESH_DISABLE=1 HEAD say (11**5, */-2 … 0)[31] 15:04
committable6 AlexDaniel, ¦HEAD(ed9b48d): « «exit signal = SIGFPE (8)»»
timotimo OK 15:05
so at least the implementations of interpreter and jit are the same
c: HEAD signal(SIGFPE).tap({ say "oh my" }); say (11**5, */-2 … 0)[31]
committable6 timotimo, ¦HEAD(ed9b48d): «oh my␤«timed out after 10 seconds» «exit signal = SIGHUP (1)»»
15:38 lizmat left 17:11 nicomachus joined 17:12 nicomachus left 17:43 zakharyas joined 17:44 p6bannerbot sets mode: +v zakharyas 17:45 domidumont joined 17:46 p6bannerbot sets mode: +v domidumont
Geth MoarVM/fork-safety: 4 commits pushed by (Bart Wiegmans)++ 18:01
nine Unhandled exception: Bytecode validation error at offset 96, instruction 15: callsite index 0 out of range 0..4294967295 18:05
I accept the bytecode validation error but I dare to disagree with the reason ;) 18:06
18:07 zakharyas left 18:08 zakharyas joined 18:09 p6bannerbot sets mode: +v zakharyas 18:20 TBlaar11 joined 18:25 TBlaar11 left
diakopter nine: :> 18:44
nine Ok, now that callsites are written, too, it's just annotations that are missing before the first real frame is compiled fully 18:45
18:47 lizmat joined 18:48 p6bannerbot sets mode: +v lizmat 18:59 RustyJ6 joined 19:04 RustyJ6 left 19:05 zakharyas left 19:06 zakharyas joined 19:07 p6bannerbot sets mode: +v zakharyas 19:13 domidumont left 19:14 necreo1 joined 19:20 Xiretza12 joined 19:21 Xiretza12 left, necreo1 left 19:37 avar left 19:39 avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 19:40 p6bannerbot sets mode: +v avar
diakopter does MoarVM have a stack depth limit these days 20:01
timotimo it does not
not that i know, at least
i think if you just sub a { a }; a; it'll malloc until the OS dies (more likely that it'll hang and stall than that it'll reliably kill the process, in my experience at least) 20:02
diakopter yeah. at one point it did, I think 20:05
20:05 zakharyas left
timotimo i know parrot had something like that 20:05
which i believe was not more than just having a counter for how many stack frames have been used yet, and you could configure it with an op 20:06
20:06 zakharyas joined 20:07 p6bannerbot sets mode: +v zakharyas
Geth MoarVM: 578c2f7623 | (Samantha McVey)++ | 2 files
Add support for utf-16 decodestream

Adds support for utf-16. At the moment only handles the same endianess as the processor. We may want to have utf16le and utf16be as options.
When we decode a utf16 string (standard, not decodestream) we check for a BOM, byte order marker. But if we are using decodestream we may be starting decode partway through the file, so we will probably have to save this data.
For now this gets utf16 working for those who need it.
20:29
diakopter timotimo: can NativeCall stuff be used from NQP, or does it need Perl 6 20:31
20:31 sneep16 joined, sneep16 left
timotimo it can, but it's a bit of manual work that's involved :) 20:31
actually 20:32
there's t/nativecall/01-basic.t inside the nqp repository
diakopter oh yeah.
lizmat samcv: that is making Tux quite happy 20:53
samcv yay
lizmat he would be even happier with utf16le and utf16be
:-) 20:54
samcv heh
ok :)
lizmat i think it's one of the blockers for him to really take Perl 6 into production
samcv where does he get these utf16 files :P
ah
lizmat customers
on Windows
samcv well i'll do that next then
lizmat ++samcv
samcv after i get some food :) 20:55
21:05 zakharyas left 21:31 RingtailedFox joined 21:34 RingtailedFox left 22:22 Guest18347 joined 22:28 Guest18347 left
timotimo oh, huh. using exit seems to cause the profiler to get very wrong numbers (though that seems to just be a negative number being put into an unsigned integer 22:57
23:58 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 23:59 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke