github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
00:00 reportable6 left 00:03 reportable6 joined 03:47 pamplemousse joined 03:54 pamplemousse left
Geth MoarVM/fix_decoder_on_exceptions: 922f0e5f27 | (Stefan Seifert)++ | 2 files
Fix bogus "Decoder may not be used concurrently" after exceptions

If stream decoding throws an exception (like on bad UTF-8) the deocder's in_use flag would stay set preventing any further use of the decoder. Since decoders are cached in rakudo, this would lead to great action-at-a-distance effects.
Fix by extending the MVM_tc_(set|release)_ex_release_mutex mechanism to support such flags in addition to fully blown mutexes. This way we can keep the light weight in_use flag for the cost of a single bit test and branch when throwing exceptions.
04:21
MoarVM: niner++ created pull request #1153:
Fix bogus "Decoder may not be used concurrently" after exceptions
04:22
05:28 pamplemousse joined 05:40 robertle left 05:56 pamplemousse left 06:00 reportable6 left, reportable6 joined 06:28 sena_kun joined 06:29 sena_kun left 06:51 sena_kun joined, robertle joined 06:55 sena_kun left 07:50 zakharyas joined 07:58 lizmat joined 07:59 lizmat_ joined 08:00 lizmat left 08:27 lizmat_ left 08:30 lizmat joined 08:59 lizmat left 09:00 lizmat joined 09:10 lizmat left 09:11 lizmat joined 09:27 MasterDuke left 09:31 lizmat left 09:32 lizmat joined 09:41 lizmat left 09:42 lizmat joined
Guest37021 aha, nine is working remotely :) 09:55
10:20 lizmat left
Geth MoarVM/fix_decoder_on_exceptions: ebf1c6af57 | (Stefan Seifert)++ | 2 files
Fix bogus "Decoder may not be used concurrently" after exceptions

If stream decoding throws an exception (like on bad UTF-8) the deocder's in_use flag would stay set preventing any further use of the decoder. This can lead to great action-at-a-distance effects.
Fix by extending the MVM_tc_(set|release)_ex_release_mutex mechanism to support such flags in addition to fully blown mutexes. This way we can keep the light weight in_use flag for the cost of a single bit test and branch when throwing exceptions.
10:24
10:24 lizmat joined 11:12 lizmat_ joined 11:13 lizmat left 11:14 pamplemousse joined 11:26 lizmat_ left 11:30 lizmat joined 11:41 zakharyas left
pamplemousse o/ 11:49
11:59 brrt joined
brrt \o 11:59
pamplemousse Hi brrt
12:00 reportable6 left
brrt hi pamplemousse 12:00
12:00 reportable6 joined
brrt how are you doing 12:00
just fyi, I'll be travelling in the next week, so my online time will be limited 12:01
(I hope to get some MoarVM hacking done nevertheless)
pamplemousse Alrighty. Have fun travelling!
I'm a bit stuck. Post should be incoming in the next hour or so on where I am so far, but I've been having a pretty hard time with figuring out how to get the modules working. 12:02
12:03 lizmat_ joined
pamplemousse I'm having two main issues, the first is that while I can get the initial list of necessary modules, I think I'm missing the dependencies that the modules themselves may have. 12:04
The second issue is that I'm still having a hard time identifying how to point perl6 at the place I'm putting the modules. 12:05
brrt hmmm. It may be the case that the modules you load are precompiled
the second issue, I may be able to help with
12:07 lizmat left
pamplemousse I think I should be able to sort out the first issue. They definitely are precompiled, and each of them begin with a couple of strings which I think may be the names of files that they depend on. 12:07
brrt uhuh 12:08
pamplemousse If you have any pointers on the second issue, I would greatly appreciate them
brrt I'm checking now... :-)
pamplemousse: my theory is this... in rakudo (src/core/CompUnit) there's a role CompUnit::Repository 12:12
and it's implemented by a bunch of scripts
eh, other roles
like CompUnit::Repository::FileSystem, CompUnit::Reposity::NQP, etc 12:13
and there's CompUnit::RepositoryRegistry 12:14
and I *think* that you'd need to have a CompUnit::Repository::HardLinked (or something), initialized with the current file (the argument to 'bytecode'), and have it registered at runtime 12:15
pamplemousse Hmmm. 12:20
Currently, if I package up a user program that uses modules without those modules, and just try to run it to see what happens, it can't find the modules either. My gut feeling based on looking at the files you've pointed me at is that there's something I'm not accounting for happening in CompUnit::RepositoryRegistry, but I'm not sure 12:23
I'll keep poking around
brrt good luck 12:32
12:32 lizmat joined 12:34 lizmat_ left 12:37 brrt left 12:57 lizmat left, lizmat joined 12:58 robertle left 13:00 robertle joined 13:27 zakharyas joined 13:34 lizmat_ joined 13:35 lizmat left 13:53 pamplemousse left 13:59 lizmat joined, lucasb joined 14:00 lizmat_ left 14:22 pamplemousse joined 14:30 brrt joined 14:35 lizmat left, lizmat joined 14:59 lizmat left 15:00 lizmat joined 15:06 zakharyas left 15:07 sena_kun joined 15:22 robertle left 15:30 lizmat_ joined 15:31 lizmat left 15:32 sena_kun left 15:53 brrt left 16:04 lizmat_ left 16:21 robertle joined 16:29 lizmat joined 16:57 lizmat left, lizmat joined 17:01 lizmat_ joined, lizmat left 17:03 MasterDuke joined 17:09 brrt joined 17:24 lizmat joined 17:25 lizmat_ left 17:31 lizmat_ joined 17:32 lizmat left 17:40 zakharyas joined 17:42 Kaiepi left, Kaiepi joined 17:45 lucasb left 17:52 zakharyas left 18:00 reportable6 left 18:02 lizmat joined 18:03 reportable6 joined 18:05 lizmat_ left 18:07 chloekek joined 18:12 brrt left 18:33 lizmat__ joined 18:36 lizmat left 19:26 chloekek left 19:33 lizmat__ left 19:34 lizmat joined 19:44 lizmat left 19:50 lizmat joined 19:58 lizmat left 20:15 pamplemousse left 20:19 lizmat joined 20:27 lizmat left 20:47 Kaiepi left 20:49 patrickb joined 20:52 Kaiepi joined 20:53 patrickb left 21:13 pamplemousse joined 21:34 discord6 left, discord6 joined, discord6 left, discord6 joined 22:09 lucasb joined 22:55 discord6 left, discord6 joined 23:55 pamplemousse left, pamplemousse joined