🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
Geth rakudo/ugexe/readd-original-protect-block: 57de86291c | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Prevent concurrent hash access

Currently two threads can read null from the $resolved hash and both end up trying to resolve the same thing. Additionally they can race each other when writing to the hash itself. This restores the original lock protect scope from before 95fb926 to ensure the read and write don't have a race condition.
00:07
rakudo/ugexe/readd-original-protect-block: 3fcb00b90b | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Give each hash their own lock

There should be no need for the loading mechanism to always block the resolve mechanism. This gives the $resolved hash its own lock instead of using the lock for the $loaded hash.
rakudo: ugexe++ created pull request #5299:
Fix potential concurrent hash access race condition
00:10
rakudo/ugexe/readd-original-protect-block: f3888c0531 | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Prevent concurrent hash access

Currently two threads can read null from the $resolved hash and both end up trying to resolve the same thing. This restores the original lock protect scope from before 95fb926 to ensure read and write don't have a race condition.
00:36
rakudo/ugexe/readd-original-protect-block: 3b25a7fe37 | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Give each hash their own lock

There should be no need for the loading mechanism to always block the resolve mechanism. This gives the $resolved hash its own lock instead of using the lock for the $loaded hash.
[Coke] ugexe++ 01:00
Geth rakudo/main: 7 commits pushed by (Elizabeth Mattijsen)++ 07:19
rakudo/main: 5 commits pushed by (Elizabeth Mattijsen)++ 07:29
[Tux] Rakudo v2023.06-13-gae149fccf (v6.d) on MoarVM 2023.06-1-g63af27399
csv-ip5xs0.953 - 1.043
csv-ip5xs-206.187 - 6.551
csv-parser3.872 - 3.880
csv-test-xs-200.381 - 0.434
test6.498 - 6.879
test-t1.572 - 1.724
test-t --race1.010 - 1.081
test-t-2019.709 - 22.361
test-t-20 --race6.158 - 7.276
08:27
Geth rakudo/main: 64e4499a28 | (Elizabeth Mattijsen)++ | src/core.e/Format.pm6
Allow class specification with Format.new

This is probably temporary, or at least an implementation detail, to allow easier development / maintenance on the Formatter class
  (without needing to re-compile the core setting every time).
08:46
lizmat hmmm.. I seem to recall that we have an exception type to wrap another exception... but I can't seem to find it? 11:10
use case: something went wrong with sprintf: I'd like to report the format used, and the values given
before reporting the actual error 11:11
lizmat TIL that any block with a CATCH { } in it, is by definition too large too inline 12:20
nemokosch is there a formal description of Raku regexes somewhere? That syntax would be nice to have at other places as well 12:50
lizmat closest is design.raku.org/S05.html I guess 12:56
Geth rakudo/main: fe788b0a9f | (Elizabeth Mattijsen)++ | 2 files
Re-imagine Formatter + Format updates

  - Formatter now produces a Callable with a Signature reflecting
   the actual number of arguments expected
  - Removed ad-hoc number of args / type checking: this is now done
   by the actual code itself
  - results from .AST can now be EVALled later in different contexts
... (12 more lines)
13:09
leont Interesting commit. Insightful in how to approach creating good Callables. 13:28
Geth rakudo/main: 90ccaeb512 | (Elizabeth Mattijsen)++ | src/core.e/Format.pm6
Be smarter on getting the count, japhb++
14:08
roast: 1f44995f40 | (Elizabeth Mattijsen)++ | S32-str/format.t
Add Format.signature/arity tests
14:51
Geth rakudo/main: dd55ffe27b | (Elizabeth Mattijsen)++ | 2 files
RakuAST: improve deparsing of nested ternaries

And add test for nested ternaries
15:06
Geth rakudo/main: 0550ae7632 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: fix deparsing of (foo,bar).baz

It was being deparsed as
   foo,bar.baz
which is *not* the same.
15:30
Geth rakudo/main: 68dbf92930 | (Elizabeth Mattijsen)++ | 2 files
Fix some cases of improper language revision tests

Internally numbers are used nowadays.
17:36
[Coke] O_o; 18:58