| IRC logs at
Set by AlexDaniel on 12 June 2018.
00:16 leont left 00:54 Altai-man_ joined 00:56 sena_kun left 02:55 sena_kun joined 02:56 Altai-man_ left 02:57 farcas1982regreg joined 04:54 Altai-man_ joined 04:57 sena_kun left 06:55 sena_kun joined 06:56 Altai-man_ left 07:53 squashable6 left 07:56 squashable6 joined 08:42 sivoais left 08:44 sivoais joined 08:54 Altai-man_ joined 08:57 sena_kun left 09:11 leont joined
Geth MoarVM: Kaiepi++ created pull request #1314:
Ensure MoarVM includes the correct 3rdparty libuv objects on *BSD
10:06 sivoais left, sivoais joined 10:12 farcas1982regreg left 10:55 sena_kun joined 10:57 Altai-man_ left
Geth MoarVM: 5d98d8eb6e | (Nicholas Clark)++ | 2 files
In struct MVMDLLRegistry, `name` is never read or used after assignment.
MoarVM: 12c7a44a85 | (Nicholas Clark)++ | src/spesh/frame_walker.c
In MVMLexicalRegistry, `lexreg[i]->value` is always `i`.

The value *is* the index in the array - it's used to find the correct array index when doing a hash lookup by name. Hence use the `i` directly, avoiding a dereference.
This code was initially in src/6model/reprs/MVMIter.c, added in Oct 2015 ... (8 more lines)
12:54 Altai-man_ joined 12:56 sena_kun left
nwc10 jnthn: MVM_exception_throw_adhoc doesn't release mutexes, does it? 13:44
^^ good *, #moarvm 13:48
lizmat nwc10 o/ 13:50
nwc10 \o
It's raining. The poor garden will have to survive without me. :-)
nine nwc10: no it doesn't 14:03
moritz we had some really impressive thunderstorm with heavy rains yesterday
nine release mutexes....rain is a fact today
moritz I stood by the window for a quarter hour and just observed the lightnings -- sometimes 3-4 in a single second 14:04
nwc10 I've only noticed one 14:05
and the rain arrived this afternoon - I was expecting it this morning
moritz: yesterday, we had sun. Lots of it 14:07
moritz us too... thunderstorm started after sunset
lizmat only 30kms away, streets were flooded this morning 14:08
we hardly got a drop here
heavy showers hardly moving
timotimo we do have an infrastructure for registering mutexes to be released by exception throwing, don't we? 14:35
nine Yes: MVM_tc_set_ex_release_mutex and MVM_tc_set_ex_release_atomic 14:37
14:55 sena_kun joined 14:56 Altai-man_ left 15:07 rypervenche left 15:13 rypervenche joined
Geth MoarVM: 3149bbb4fe | (Nicholas Clark)++ | src/6model/reprs.c
find_repr_by_name must hold mutex_repr_registry when reading repr_hash.

MVM_repr_register_dynamic_repr locks mutex_repr_registry before reading repr_hash - so should find_repr_by_name.
nine Huh.... MVM_repr_register_dynamic_repr doesn't seem to be used anywhere 16:30
nwc10 anywhere any more? 16:32
timotimo perhaps it was used in extops before
was rakudo's scalar a repr or just a class of p6opaque?
nine Looks like it has never been used for anything 16:44
Didn't know we have this capability.'s intriguing :) 16:45
timotimo if you embed moar in your own program and want to do some sick shit 16:46
16:53 zakharyas joined 16:54 Altai-man_ joined 16:56 sena_kun left 16:58 nwc10 joined 18:55 sena_kun joined 18:56 Altai-man_ left 20:17 evalable6 left, linkable6 left 20:18 linkable6 joined, evalable6 joined 20:21 zakharyas left 20:54 Altai-man_ joined 20:56 sena_kun left 22:54 sena_kun joined 22:57 Altai-man_ left