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.
lizmat nine: just came across: github.com/rakudo/rakudo/blob/mast...P.nqp#L406 10:42
is that something that still needs to be done? Or is nqp::bindkey_i enough and can the comment go ? 10:43
lizmat Q: what would be needed to be able to introspect the bytecode size of a Callable ?\ 11:30
jnthn lizmat: I'd probably add it as a VM syscall these days (src/dispatch/syscall.c) that takes a MoarVM code object (in Raku terms, the thing in `$!do`); I think the bytecode size hangs off the static frame that the code object points to 13:16
Then it's just nqp::dispatch('boot-syscall', 'code-bytecode-size', $the-do) 13:17