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 timo++ MasterDuke++ 08:54
timo who doesn't love a good trampoline? 09:54
lizmat FWIW, confirmed on MacOS as well 09:56
timo randomly thinking about exploitability of moarvm when someone gets some shellcode smuggled into it somehow 11:43
it'd be swell to have all jitted frames in a special area of memory so a tool could just by looking at the $rip tell if it's looking at a jitted frame or something else 11:44
but if the $rip for all jitted frames becomes too regular, an attacker could guess the location of the common jit prologue for example
wow spesh dump is kinda slooow 13:14
timo looks like we sometimes compile an nqp edge "charlist" for single characters. there's probably a more efficient way to have that 18:14
lizmat perhaps that could be handled at RakuAST opt time? 18:18
timo moar can handle it, i've got a prototype patch, but it could also be possible to do it before optimization time. if not, then at optimization time, yeah 18:26
MVM_string_index_of_grapheme goes from 0.62% to 0.5%, barely noticeable (core setting compilation) 18:33
since it started at 0.62% in the first place, barely much win to be had even if it were completely gone from the profile now
oh it gets better when you recompile Raku/Grammar.nqp because the optimization makes it into the serialized blob 18:38
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2024/07/22/2024-...e-toolbox/ 19:31