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:00 reportable6 left, reportable6 joined 00:07 jgaz joined 00:44 kjp left 00:57 kjp joined 04:00 quotable6 left, bisectable6 left, bloatable6 left, unicodable6 left, statisfiable6 left, nativecallable6 left, linkable6 left, sourceable6 left, squashable6 left, tellable6 left, evalable6 left, releasable6 left, committable6 left, notable6 left, coverable6 left, greppable6 left, benchable6 left, shareable6 left 04:01 evalable6 joined, releasable6 joined, greppable6 joined, committable6 joined, statisfiable6 joined, quotable6 joined, linkable6 joined 04:02 bisectable6 joined, bloatable6 joined, nativecallable6 joined, shareable6 joined, sourceable6 joined, squashable6 joined, unicodable6 joined 04:03 benchable6 joined, notable6 joined, tellable6 joined, coverable6 joined 05:45 Util left, Util joined 06:00 reportable6 left 06:02 reportable6 joined 07:03 statisfiable6 left, notable6 left, bloatable6 left, committable6 left, squashable6 left, quotable6 left, evalable6 left, benchable6 left, unicodable6 left, bisectable6 left, greppable6 left, sourceable6 left, reportable6 left, releasable6 left, tellable6 left, coverable6 left, nativecallable6 left, shareable6 left, linkable6 left, quotable6 joined, tellable6 joined 07:04 statisfiable6 joined, committable6 joined, nativecallable6 joined, sourceable6 joined, reportable6 joined 07:05 evalable6 joined, benchable6 joined, releasable6 joined, squashable6 joined, greppable6 joined, coverable6 joined, shareable6 joined 07:06 bisectable6 joined, notable6 joined, unicodable6 joined, linkable6 joined, bloatable6 joined
lizmat ugexe: how can that be thread safe ? 07:57
or does libuv guarantee that ? 07:58
08:42 jnthn left, jnthn joined 10:46 linkable6 left, evalable6 left 10:49 evalable6 joined 10:50 linkable6 joined
ugexe Stating a file twice isn’t any more thread safe 11:11
12:00 reportable6 left 12:01 reportable6 joined 12:22 jgaz left
nine I think the best way to do this would be to add a REPR for wrapping uv_stat_t and one or more syscalls to access the information contained in it. 12:28
A working, but worse in every regard solution would be to create a BOOTHash containing the stat buffer's information and pass that to user space.
[Coke] I love that description. 12:39
13:22 evalable6 left, linkable6 left 13:23 evalable6 joined, linkable6 joined
ugexe nodejs does the later 13:40
16:09 jgaz joined 17:06 [Coke] left 17:07 [Coke] joined 18:00 reportable6 left 18:03 reportable6 joined
leont Is anything needed to get github.com/MoarVM/MoarVM/pull/1756 merged? 18:14
And yes, exposing some sort of stat_t would be most welcome 18:15
I've been wanting that for years
lizmat leont: lemme merge it
anything needed as a followup?
leont There's an accompanying branch on rakudo that actually uses it 18:16
lizmat is that in a PR also ?
Geth MoarVM/main: 3df20182bb | (Leon Timmermans)++ (committed using GitHub Web editor) | 3 files
Add ops for unix domain sockets

Add async unx domain socket connect/listen and syscalls for async unix domain sockets
leont That's github.com/rakudo/rakudo/pull/5269 18:17
lizmat oki
rakudo PR also merged, leont 18:34
leont \o/
lizmat anything in roast that needs merging ?
hmmm... looking at the code: this will only work on the MoarVM backend, right? 18:35
19:15 evalable6 left, linkable6 left 19:17 evalable6 joined, linkable6 joined 21:00 MasterDuke joined
MasterDuke i thought timo1 had some stat PR, but i guess i was thinking of github.com/MoarVM/MoarVM/pull/536 21:03
nine: why would the BOOTHash be worse in every regard? 21:04
also, the stat constants are small and pretty contiguous, it could be an array instead of a hash 21:05
21:06 jgaz left 21:08 jgaz joined