niner
niner
Note that my second example still only allows for a single concurrent writer. If you have multiple writers, you need a lock in the write path: ```raku use nqp; my...
Indeed, that's a bug in the documentation. The example would work with any other function. More precicely: with any function, as `print` actually is not one, but instead is a...
@Zer0-Tolerance sorry for the radio silence. I have let myself get sucked into $day-job to an unhealthy degree and only now realized that that was not a good decision. Your...
Anyway using Smart::Comments will never work like that. It's a source filter. It actually parses your Perl code and changes your comments to real code. It will fail when faced...
This commit https://github.com/MoarVM/MoarVM/commit/428b821d19618f286bacb654bb11fb200c0629f5 was supposed to fix this error When have you run Configure.pl the last time? Can you please try a completely fresh install?
I'm not a huge fan of assigning meaning to the opcode number, when opcodes can already have adverbs. Could you at least put the ins->info->opcode >= MVM_OP_prof_enter test into a...
With https://github.com/MoarVM/MoarVM/commit/7df8596ebece45735c8b87606e744e8b0ec9e7ac and https://github.com/perl6/nqp/commit/3fe17a6838fb30836036b5c1078a818f7496f5c0 this now works as expected: ``` nine@sphinx:~> perl6 -e 'my $b = buf8.new(255); $b.write-int8(-1,42); dd $b' Buf[uint8] $b = Buf[uint8].new(42) nine@sphinx:~> perl6 -e 'my $b =...
What happens with this if the LEAVE phaser does an explicit `return`?
The real fix is just adding a type cast. There's nothing wrong with the code there. It's just a warning that some settings exaggerate into an error.
But there's also `push @netpromises, $syn`. And it's not enough to protect the array from concurrent writes. You also must not read from an array while it's getting written to....