🦋 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:08 reportable6 left 00:10 reportable6 joined 03:17 vrurg_ joined 03:20 vrurg left 06:07 reportable6 left 06:10 reportable6 joined 07:10 bloatable6 left, evalable6 left, committable6 left, quotable6 left, benchable6 left, sourceable6 left, releasable6 left, greppable6 left, shareable6 left, statisfiable6 left, reportable6 left, nativecallable6 left, bisectable6 left, linkable6 left, coverable6 left, notable6 left, tellable6 left, unicodable6 left 07:11 greppable6 joined, evalable6 joined, committable6 joined, bisectable6 joined 07:12 nativecallable6 joined, linkable6 joined, shareable6 joined, notable6 joined, reportable6 joined, sourceable6 joined, unicodable6 joined, coverable6 joined 07:13 quotable6 joined, statisfiable6 joined, benchable6 joined, tellable6 joined 07:14 releasable6 joined, bloatable6 joined
lizmat Files=1353, Tests=117192, 288 wallclock secs (35.16 usr 9.74 sys + 4021.91 cusr 334.12 csys = 4400.93 CPU) 08:02
12:07 reportable6 left 12:09 reportable6 joined 12:49 Xliff joined 13:06 [Coke] left 13:18 [Coke] joined 13:36 discord-raku-bot left, discord-raku-bot joined 15:21 coverable6 left, shareable6 left, bisectable6 left, benchable6 left, tellable6 left, linkable6 left, notable6 left, unicodable6 left, committable6 left, quotable6 left, reportable6 left, nativecallable6 left, sourceable6 left, greppable6 left, greppable6 joined, reportable6 joined 15:22 quotable6 joined, coverable6 joined, bisectable6 joined, shareable6 joined 15:23 linkable6 joined, benchable6 joined 15:24 notable6 joined, committable6 joined, unicodable6 joined, nativecallable6 joined, sourceable6 joined, tellable6 joined 16:40 linkable6 left, linkable6 joined
Geth rakudo/lizmat-revert-CATCH-removal: b290d8a908 | (Elizabeth Mattijsen)++ | src/core.c/CompUnit/Loader.pm6
Reinstate CATCH versus LEAVE

Alhough the code with LEAVE is much simpler and clearer, it *does* impose the overhead of having to execute a phaser on the most common execution path. And since both a CATCH block or a LEAVE phaser will inhibit inlining of a block, from a performance point of view a CATCH is better, as that will only be executed when something actually goes wrong (which hopefully is not the most common execution path).
17:16
rakudo: lizmat++ created pull request #4903:
Reinstate CATCH versus LEAVE
18:08 reportable6 left 18:11 reportable6 joined
bartolin lizmat: I'll try with 'has Str $!stringified' in a few minutes (re github.com/rakudo/rakudo/commit/ef68d4ad4c) ... (the JVM backend is sloooow) 18:49
tellable6 2020-05-15T21:53:00Z #moarvm <patrickz> .tell bartolin The previous failure is solved. Now I have a new JVM error: github.com/rakudo/rakudo/issues/3695 Help appreciated!
lizmat bartolin
bartolin: maybe the JVM just cannot handle uninitialized private native string attributes ? 18:50
18:50 TempIRCLogger joined
lizmat bartolin: golf: 18:52
class A { has str $!a; method foo() { $!a ?? $!a !! "foo" } }; dd A.new.foo
evalable6 "foo"
tellable6 2019-08-19T16:18:00Z #moarvm <AlexDaniel> .tell evalable6 test test
lizmat bartolin: if that is the issue, then maybe a JVM only init on $!stringified = ""; in TWEAK could be a solution 18:54
18:54 TempIRCLogger left, TempIRCLogger joined
bartolin hmm. That works fine ("foo"). I suspect that it only blows up when precompilation is involved. 18:55
lizmat and an init in TWEAK ? 18:56
bartolin I'll report back a bit later. 19:00
lizmat okido 19:01
bartolin neither 'has Str $!stringified' nor initializing in TWEAK helped :( 19:21
lizmat weird
bartolin: and with this: gist.github.com/lizmat/4c95beb2c2e...79980f1642 19:24
?
bartolin That's basically github.com/rakudo/rakudo/commit/ef...-71979377, but with keeping the (unused) attribute, right? I'll try ... 19:27
lizmat well, yeah...
afk& 19:35
bartolin interestingly keeping the unused attribute still leads to the error. 19:40
ooc I tried another thing and made the attribute public (and kept everything else like it is on master). That made the error go away, too. 19:42
19:46 sena_kun left 19:48 sena_kun joined 20:48 evalable6 left, linkable6 left, linkable6 joined 20:49 evalable6 joined
Geth rakudo: c9b0da74b9 | (Elizabeth Mattijsen)++ | src/core.c/CompUnit/DependencySpecification.pm6
Fix JVM build

Investigated by bartolin++
22:40