🦋 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: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
00:02 reportable6 left 00:04 reportable6 joined 00:09 patrickb left 00:58 discord-raku-bot joined 01:19 discord-raku-bot left 01:20 discord-raku-bot joined 01:48 discord-raku-bot left 01:56 discord-raku-bot joined 02:08 discord-raku-bot left, discord-raku-bot joined 04:10 nativecallable6 left, quotable6 left, greppable6 left, reportable6 left, notable6 left, linkable6 left, coverable6 left, bisectable6 left, unicodable6 left, bloatable6 left, statisfiable6 left, squashable6 left, committable6 left, sourceable6 left, evalable6 left, releasable6 left, shareable6 left, tellable6 left, benchable6 left, committable6 joined 04:11 releasable6 joined, bisectable6 joined, squashable6 joined 04:12 coverable6 joined, greppable6 joined, unicodable6 joined, nativecallable6 joined 04:13 statisfiable6 joined 05:11 notable6 joined, sourceable6 joined 05:12 reportable6 joined, shareable6 joined 05:13 bloatable6 joined 06:02 reportable6 left 06:03 reportable6 joined 06:12 benchable6 joined 07:12 quotable6 joined, evalable6 joined 08:11 tellable6 joined 09:13 linkable6 joined 10:29 squashable6 left 10:31 squashable6 joined 10:38 linkable6 left 10:39 linkable6 joined 10:49 linkable6 left 10:51 linkable6 joined 10:58 linkable6 left
Geth nqp: 315cc79cd8 | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION
Bump NQP to get the latest MoarVM fixes by nine++
11:05
rakudo: d1bda7b56f | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP for various MoarVM and NQP fixes
11:21
rakudo/cpucores-once: 65ddcb7c3e | (Elizabeth Mattijsen)++ | 4 files
Make sure that nqp::cpucores is only called once ever

It appears that nqp::cpucores can potentially be a heavy operation
  (even like needing to fork() apparently on MacOS Monterey), which
may well have some adverse effects.
Therefore make sure we only call nqp::cpucores only once at startup. Also introduce an implementation-detail Kernel.cpu-cores-but-one method that will be one less than the number of CPU cores, with a minimum of 1.
11:53
lizmat (a rebase)
Geth rakudo/cpucores-once: 2113eae9f0 | (Elizabeth Mattijsen)++ | 2 files
Revert behaviour of Kernel.cpu-cores

It will now always call nqp::cpucores for those cases where the number of CPU's can actually change.
The internal method Kernel.cpu-cores-but-one is now lazy, and will only call nqp::cpucores once in the lifetime of a process.
12:02 reportable6 left
Geth rakudo/cpucores-once: 27f8cc5788 | (Elizabeth Mattijsen)++ | 2 files
Add Kernel.cpu-cores(:cached) candidate

  - Kernel.cpu-cores now *always* calls nqp::cpucores and sets cache
  - Kernel.cpu-cores(:cached) returns cached value or makes a cached value
  - Kernel.cpu-cores-but-one always uses the cached value
  - Thread.BUILD now makes sure that Kernel.cpu-cpucores(:cached) is called
   **before** starting an OS thread
12:12
13:04 reportable6 joined 13:19 [Coke] left
Geth rakudo/cpucores-once: 7c10225bba | (Elizabeth Mattijsen)++ | 2 files
Kernel.cpu-cores-but-one is now the only one caching

This is also the one called by Thread.BUILD now, and the :cached candidate of Kernel.cpu-cores is gone and Kernel.cpu-cores is now back to its original state.
13:25
ugexe regarding nqp::cpucores performance -- github.com/libuv/libuv/pull/2914#p...-451430065 suggest libuv could itself be improved 13:46
lizmat well, until then... we have a fix now 13:55
Geth rakudo/cpucores-once: 9cb2d8b5f1 | (Elizabeth Mattijsen)++ | src/core.c/Iterable.pm6
Fix erroneous but harmless use of ; vs ,
14:10
lizmat ugexe++ for the spot
ugexe i like trailing commas because adding new things afterwards doesn't take over the blame for the original line 14:19
git blame rather
lizmat yeah, true that 14:33
14:35 evalable6 left, evalable6 joined 14:40 Xliff left 14:59 linkable6 joined 16:38 evalable6 left, linkable6 left 16:39 evalable6 joined 17:03 [Coke] joined 17:41 linkable6 joined 18:02 reportable6 left
pie_flavor is `eqv` the operator to check two bools for equality? 18:24
19:05 patrickb joined
wrong channel sorry 19:25
20:04 reportable6 joined 20:43 [Coke]_ joined 20:45 [Coke] left 22:36 [Coke]_ is now known as [Coke]