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:07 reportable6 left 00:08 reportable6 joined 01:30 frost joined 02:30 notable6 left, unicodable6 left, evalable6 left, sourceable6 left, committable6 left, benchable6 left 02:31 releasable6 left, statisfiable6 left, shareable6 left, bloatable6 left, tellable6 left, greppable6 left, reportable6 left, bisectable6 left, coverable6 left, nativecallable6 left, quotable6 left, linkable6 left, greppable6 joined, nativecallable6 joined, linkable6 joined, reportable6 joined, unicodable6 joined, evalable6 joined 02:32 releasable6 joined, bloatable6 joined, coverable6 joined, quotable6 joined, shareable6 joined, statisfiable6 joined, committable6 joined 02:33 bisectable6 joined, tellable6 joined, sourceable6 joined, notable6 joined 02:34 benchable6 joined 03:34 statisfiable6 left, linkable6 left, quotable6 left, bisectable6 left, releasable6 left, unicodable6 left, tellable6 left, evalable6 left, notable6 left, reportable6 left, committable6 left, bloatable6 left, benchable6 left, nativecallable6 left, sourceable6 left, coverable6 left, shareable6 left, greppable6 left, notable6 joined, bisectable6 joined 03:35 nativecallable6 joined, coverable6 joined, benchable6 joined, bloatable6 joined, sourceable6 joined, quotable6 joined, committable6 joined 03:36 reportable6 joined, greppable6 joined, releasable6 joined, evalable6 joined, tellable6 joined, unicodable6 joined, linkable6 joined 03:37 statisfiable6 joined, shareable6 joined 04:53 Kaiepi left
Nicholas good 🦆, #moarvm 05:13
05:37 kjp joined 06:07 reportable6 left 06:10 reportable6 joined
nine japhb: I don't see a good reason but we do take the mutex for all IO ops as a principle. There could still be a good reason for that. Apart from this, if MVM_io_read_bytes and MVM_io_is_tty are trying to lock the same mutex, one of them ought to win (and release the mutex once it's done). So I don't understand why it would deadlock? 07:27
08:12 Kaiepi joined 08:19 lizmat_ is now known as lizmat, Geth__ left, Geth joined 08:20 RakuIRCLogger left, RakuIRCLogger joined 08:24 Geth left, Geth joined 08:28 Geth left, RakuIRCLogger joined 08:29 Geth joined 08:33 Geth left, Geth joined 10:35 Kaiepi left 10:40 Kaiepi joined
lizmat www.theregister.com/2022/06/10/app...nt=article 11:13
meh
www.theregister.com/2022/06/10/app...cman_flaw/
nine So.... speculative execution is hard 11:23
timo as always ;( 11:34
just .. don't allow program code to get high resolution time values 11:35
sounds easy enough lol
11:44 Kaiepi left 11:48 Kaiepi joined
japhb nine: It wasn't deadlocking just on the mutexes. It was other program logic. To whit, one thread was waiting in the read for the response to a terminal query string, which was never getting sent because I'd inserted the TTY check just before sending the terminal query string. And the query would never get sent because it was waiting on the mutex that the read already held. 12:02
12:07 reportable6 left 12:09 reportable6 joined
timo the read stuff itself is async though, right? 12:11
japhb timo: Not on a syncfile. 12:44
timo ah 12:50
do we cache the result of .t btw? if so, then it'll be very fun to discover that it may lock if you have for some reason had something else call .t on it before and never realized until you, for example, tossed out some debug code 12:51
japhb timo: Nah, no caching that I'm aware of. I don't think isatty is an expensive operation (though it may be a syscall underneath, I suppose). 13:14
13:32 frost left 13:53 [Coke] left 13:56 [Coke] joined 15:10 nine left 15:11 nine joined 18:08 reportable6 left 18:09 reportable6 joined 19:23 linkable6 left, evalable6 left 19:25 linkable6 joined 19:26 evalable6 joined 20:26 benchable6 left, reportable6 left, nativecallable6 left, committable6 left, coverable6 left, releasable6 left, bisectable6 left, sourceable6 left, tellable6 left, notable6 left, unicodable6 left, shareable6 left, quotable6 left, evalable6 left, bloatable6 left, linkable6 left, statisfiable6 left, greppable6 left, notable6 joined, coverable6 joined 20:27 committable6 joined, greppable6 joined, unicodable6 joined, bisectable6 joined, nativecallable6 joined, shareable6 joined, reportable6 joined 20:28 tellable6 joined, linkable6 joined, bloatable6 joined, sourceable6 joined, quotable6 joined, evalable6 joined, benchable6 joined, releasable6 joined 20:29 statisfiable6 joined 20:45 Kaiepi left 21:46 Kaiepi joined 21:49 Kaipei joined 21:51 Kaiepi left