Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
Set by Zoffix on 27 July 2018.
00:04 beuker joined 00:05 p6bannerbot sets mode: +v beuker, beuker left 00:19 James_T14 joined, James_T14 left 00:29 SolarAquarion21 joined, SolarAquarion21 left 00:43 lynxis16 joined, lynxis16 left 00:44 hoelzro joined 00:45 p6bannerbot sets mode: +v hoelzro 00:49 hoelzro left 01:15 mozzarella19 joined 01:16 p6bannerbot sets mode: +v mozzarella19 01:17 iczero15 joined, mozzarella19 left 01:18 p6bannerbot sets mode: +v iczero15, iczero15 left 02:18 sushichef joined 02:19 sushichef left 02:23 programmerq24 joined 02:24 p6bannerbot sets mode: +v programmerq24 02:25 programmerq24 left 02:35 Peng5 joined 02:36 Peng5 left 02:53 hoelzro joined, p6bannerbot sets mode: +v hoelzro 02:59 rubdos6 joined 03:00 p6bannerbot sets mode: +v rubdos6, exponent joined, epony left, rubdos6 left 03:01 p6bannerbot sets mode: +v exponent, deltab4 joined, p6bannerbot sets mode: +v deltab4 03:02 exponent left 03:05 deltab4 left 03:10 Kaiepi left 03:17 jack317 joined 03:18 p6bannerbot sets mode: +v jack317, jack317 left 03:31 Ven` joined 03:32 p6bannerbot sets mode: +v Ven` 03:35 Ven` left 03:40 Atlas20 joined 03:41 p6bannerbot sets mode: +v Atlas20, Atlas20 left 03:43 cods4 joined 03:44 p6bannerbot sets mode: +v cods4 03:45 cods4 left
AlexDaniel .tell jnthn there's a huge list of your changes for the changelog and most of them are not very changeloggable separately, maybe you can write a line or three about your set of changes and stack all relevant commits there? 04:07
yoleaux AlexDaniel: I'll pass your message to jnthn.
AlexDaniel .tell jnthn just a very short summary will do 04:09
yoleaux AlexDaniel: I'll pass your message to jnthn.
05:10 usrX joined 05:11 p6bannerbot sets mode: +v usrX 05:13 usrX left 05:50 cooldude21 joined 05:51 p6bannerbot sets mode: +v cooldude21 05:58 cooldude21 left 06:09 naos2 joined, p6bannerbot sets mode: +v naos2 06:10 naos2 left 07:11 change23 joined 07:12 change23 left 07:13 Guest44030 joined, p6bannerbot sets mode: +v Guest44030 07:14 Guest44030 left 07:24 epony joined, p6bannerbot sets mode: +v epony 07:25 linuxmodder17 joined, linuxmodder17 left 07:34 Ricardus18 joined 07:35 p6bannerbot sets mode: +v Ricardus18 07:40 Ricardus18 left 07:47 labviking joined, labviking left 08:21 Kaiepi joined 08:22 p6bannerbot sets mode: +v Kaiepi 08:39 lizmat joined, p6bannerbot sets mode: +v lizmat 08:49 MasterDuke left 08:53 stevoo16 joined 08:54 p6bannerbot sets mode: +v stevoo16 09:00 stevoo16 left 09:20 walle303 joined 09:21 p6bannerbot sets mode: +v walle303 09:28 walle303 left 09:29 Guest30087 joined 09:30 p6bannerbot sets mode: +v Guest30087 09:33 Guest30087 left 10:15 anticrisis joined 10:16 p6bannerbot sets mode: +v anticrisis 10:17 anticrisis left 10:20 alkyl6 joined 10:21 theaetetus joined, p6bannerbot sets mode: +v alkyl6, p6bannerbot sets mode: +v theaetetus 10:23 alkyl6 left 10:25 theaetetus left
lizmat I'm seeing t/spec/S32-io/file-tests.t die on its first test, am I the only one? 10:27
10:33 Gentle joined 10:34 Gentle left
dogbert17 lizmat: are you on master? 10:40
10:46 Kaypie joined
lizmat yes 10:47
10:47 p6bannerbot sets mode: +v Kaypie 10:48 Kaiepi left
lizmat .ask jnthn I'm confused by 34468f11dc78c580d2 : before I was under the impression that using sigilless was better ? 10:52
yoleaux lizmat: I'll pass your message to jnthn.
dogbert17 lizmat: unable to repro I'm afraid 10:54
lizmat afk& 10:58
11:08 ExeciN4 joined 11:09 p6bannerbot sets mode: +v ExeciN4 11:10 ExeciN4 left 11:11 Kaypie left 11:14 Kaiepi joined 11:15 p6bannerbot sets mode: +v Kaiepi 11:23 badon23 joined 11:24 p6bannerbot sets mode: +v badon23, badon23 left
jnthn . 11:27
yoleaux 04:07Z <AlexDaniel> jnthn: there's a huge list of your changes for the changelog and most of them are not very changeloggable separately, maybe you can write a line or three about your set of changes and stack all relevant commits there?
04:09Z <AlexDaniel> jnthn: just a very short summary will do
10:52Z <lizmat> jnthn: I'm confused by 34468f11dc78c580d2 : before I was under the impression that using sigilless was better ?
jnthn .tell lizmat It depends. If you have a type constraint and that type is *not* Iterable then it generates code that strips off the Scalar container and stores it uncontainerized. That means nothing later on has to decont it again. Plus code-gen improved of late to emit just one decont, not multiple, in this case. 11:29
yoleaux jnthn: I'll pass your message to lizmat.
jnthn .tell lizmat If the parameter is unconstrained on type then \foo is probably faster because it won't defensively created a readonly Scalar wrapper to make sure itemization is retained. 11:31
yoleaux jnthn: I'll pass your message to lizmat.
jnthn releasable6: status
releasable6 jnthn, Next release in ā‰ˆ7 hours. 2 blockers. 314 out of 448 commits logged
jnthn, Details: gist.github.com/2c37dae34b82570cbc...0382d85f20
jnthn Darn, I was helping that'd tell me where the changelog is... :P 11:32
11:38 and joined, p6bannerbot sets mode: +v and 11:39 and left
timotimo jnthn: github.com/rakudo/rakudo/wiki/ChangeLog-Draft if you haven't found it yet 11:46
11:47 OGF2 joined, p6bannerbot sets mode: +v OGF2 11:48 OGF2 left
jnthn I hadn't, but I wrote up some entries :) 11:49
.tell AlexDaniel Updated ChangeLog-Draf, hope that helps :) 11:54
yoleaux jnthn: I'll pass your message to AlexDaniel.
11:57 Xlbrag_ joined 11:58 p6bannerbot sets mode: +v Xlbrag_ 12:02 Xlbrag_ left, MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 12:03 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 12:20 MasterDuke left 12:27 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 12:29 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 12:35 stephen8715 joined 12:36 stephen8715 left
AlexDaniel jnthn: cool, thanks! Though these were written without commit shas? 12:38
yoleaux 11:54Z <jnthn> AlexDaniel: Updated ChangeLog-Draf, hope that helps :)
jnthn AlexDaniel: Yeah, I didn't know the ChangeLog did that, and didn't really feel like doing the whole task again when I found out. :/ 12:47
12:51 Jguy joined, p6bannerbot sets mode: +v Jguy 12:53 Jguy left 13:26 mcspud17 joined 13:27 p6bannerbot sets mode: +v mcspud17 13:28 mcspud17 left 14:06 foamz0 joined 14:07 p6bannerbot sets mode: +v foamz0 14:08 foamz0 left 14:25 dfgg29 joined, p6bannerbot sets mode: +v dfgg29 14:32 dfgg29 left 14:34 gildarts22 joined 14:35 p6bannerbot sets mode: +v gildarts22, gildarts22 left
Geth rakudo/hllbool: c82378925f | (Stefan Seifert)++ | 2 files
Remove obsolete p6settypes extop

Since the scalar refactor we don't actually need Mu and Any anymore in extops. All that remained in p6settypes was the initialization of some static strings which can easily be done in p6init.
14:46
rakudo/hllbool: 9d7ff1334c | (Stefan Seifert)++ | 2 files
Replace p6decodelocaltime extop with a native call

Usage of the extop pre-dates NativeCall. It was only called in a single place and only once, so it's not performance sensitive.
14:48
14:51 thejoecarroll1 joined
Geth rakudo/hllbool: 9e915e3221 | (Stefan Seifert)++ | 2 files
Replace p6decodelocaltime extop with a native call

Usage of the extop pre-dates NativeCall. It was only called in a single place and only once, so it's not performance sensitive.
14:52
14:52 p6bannerbot sets mode: +v thejoecarroll1
nine 2 more extops down... 14:53
14:54 thejoecarroll1 left
timotimo nice. 14:55
15:19 jfmcarreira26 joined 15:20 p6bannerbot sets mode: +v jfmcarreira26, jfmcarreira26 left
[Tux] hears bagpipes ā€¦ 15:25
Rakudo version 2018.06-448-g34468f11d - MoarVM version 2018.06-428-g727767006
csv-ip5xs0.939 - 0.942
csv-ip5xs-208.009 - 8.014
csv-parser24.832 - 24.994
csv-test-xs-200.417 - 0.455
test8.627 - 10.545
test-t2.083 - 2.186
test-t --race0.918 - 0.943
test-t-2037.389 - 38.810
test-t-20 --race12.140 - 12.330
lizmat, ^^^^^ :)
timotimo that looks good 15:28
15:43 reportable6 left, reportable6 joined 15:44 p6bannerbot sets mode: +v reportable6 15:46 ZofBot left, ZofBot joined, ChanServ sets mode: +v ZofBot 15:47 p6bannerbot sets mode: +v ZofBot 15:53 bjs10 joined 15:54 p6bannerbot sets mode: +v bjs10 15:58 lizmat left 16:00 bjs10 left 16:03 fake_space_whale joined 16:04 p6bannerbot sets mode: +v fake_space_whale 16:40 asafniv joined, p6bannerbot sets mode: +v asafniv 16:47 asafniv left 16:53 mlhess joined 16:54 p6bannerbot sets mode: +v mlhess, mlhess left 17:10 Kaiepi left
fake_space_whale I am reading some rakudo nqp and I am having trouble finding documentation for what "<!!before" means. Does it mean the same thing as "<?before" ? 17:11
this is inside a grammar
17:25 AlexZ11 joined
Geth star: TisonKun++ created pull request #119:
Bump release version
17:26
17:26 p6bannerbot sets mode: +v AlexZ11 17:27 AlexZ11 left
jnthn fake_space_whale: Yes, except that <?before ...> treats ... as the declarative prefix for LTM purposes and then that's the end of the declarative prefix, while <!!before ...> is ignored in that regard 17:31
fake_space_whale Thank you 17:32
What does LTM mean? 17:36
Geth star: cc2e402a2e | é™ˆę¢“ē«‹++ (committed using GitHub Web editor) | README
Bump release version
17:39
star: cd6f392c87 | (Steve Mynott)++ (committed using GitHub Web editor) | README
Merge pull request #119 from TisonKun/patch-1

Bump release version
17:42 pmurias joined 17:43 p6bannerbot sets mode: +v pmurias
pmurias nine: re removing p6decodelocaltime does that work on windows? 17:43
yoleaux 17 Aug 2018 22:32Z <tyil> pmurias: anything can potentially cause a shitstorm, so by that definition nothing should ever be published under any circumstances
17:45 pmurias left 17:46 pmurias joined 17:47 p6bannerbot sets mode: +v pmurias
pmurias nine: the extopt you removed had an ifdef on windows 17:47
nine: also I don't like nativecalling into libc 17:48
17:48 drot3 joined
pmurias nine: if we ran on a platform that doesn't have libc it will have to be implemented by putting an ugly if inside the nativecall 17:49
17:49 drot3 left
pmurias or an ?if 17:51
MasterDuke fake_space_whale: Longest Token Matching 18:00
fake_space_whale Thank you
pmurias nine: I see that it would work on moar on windows 18:21
18:23 pmurias left 18:26 f27 joined 18:27 p6bannerbot sets mode: +v f27, f27 left 19:37 gfldex left 19:41 ^Phantom^20 joined 19:42 ^Phantom^20 left 19:46 gfldex joined 19:47 p6bannerbot sets mode: +v gfldex, zyley joined 19:48 p6bannerbot sets mode: +v zyley
Geth rakudo: ribbon-otter++ created pull request #2225:
Allow prefix calls with .:< ... > on integer literals
19:49
19:50 subo joined, zyley left, p6bannerbot sets mode: +v subo 19:52 subo left
Geth roast: ribbon-otter++ created pull request #463:
Check .:< ... > for prefix operators on int literals
19:52
20:06 Netham4522 joined 20:07 p6bannerbot sets mode: +v Netham4522 20:10 Kaiepi joined 20:11 p6bannerbot sets mode: +v Kaiepi 20:13 Netham4522 left 20:23 t0ne24 joined 20:24 p6bannerbot sets mode: +v t0ne24
MasterDuke cool. i got the `for range` -> `while` optimization working if you add a literal integer to the range. now to generalize... 20:27
timotimo cool :)
20:28 t0ne24 left
Geth rakudo: ribbon-otter++ created pull request #2226:
Update CONTRIBUTING.md with regards to prefix `RT`
20:32
20:32 \mSg20 joined 20:33 p6bannerbot sets mode: +v \mSg20 20:37 \mSg20 left 20:42 felco8 joined 20:43 p6bannerbot sets mode: +v felco8
MasterDuke if i have `- QAST::Want <wanted> 10 - QAST::WVal(Int) - Ii - QAST::IVal(10) 10`, and i want to make sure i have a literal int, which thing(s) should i check against? 20:48
20:48 felco8 left
timotimo check if the second child is an "Ii", i guess 20:49
MasterDuke easy enough. how about if i have ($opname eq '&infix:<+>' || $opname eq '&infix:<->' || $opname eq '&infix:<*>'), any easy way to build the right QAST::Op using the $opname? i.e., i want add_i, sub_i, and mul_i respectively 20:54
timotimo not that i know of. also, don't forget to check if they come from the setting 20:57
MasterDuke yeah, i have that already 20:58
timotimo i mean in theory you could use optimize_op for that i guess? that might constant-fold it for you
MasterDuke guess i'll just build a little hash
timotimo i mean you could perhaps have it like $opname eq '&infix:<+>' && $opop := "add_i" || ... 20:59
20:59 Ven` joined 21:00 p6bannerbot sets mode: +v Ven` 21:10 lizmat joined 21:11 p6bannerbot sets mode: +v lizmat
lizmat . 21:13
yoleaux 11:29Z <jnthn> lizmat: It depends. If you have a type constraint and that type is *not* Iterable then it generates code that strips off the Scalar container and stores it uncontainerized. That means nothing later on has to decont it again. Plus code-gen improved of late to emit just one decont, not multiple, in this case.
11:31Z <jnthn> lizmat: If the parameter is unconstrained on type then \foo is probably faster because it won't defensively created a readonly Scalar wrapper to make sure itemization is retained.
21:14 Ven` left
MasterDuke timotimo: do i need to worry if e.g., the range values + the offset get into bigint territory? 21:29
timotimo hm, i think so? 21:36
does the current optimization stop outside of big int range?
MasterDuke it doesn't look like there are any checks 21:37
timotimo perhaps you can make your new code work completely before the other code does anything
also, if you're in bigint territory, you can't create an QAST::IVal from it 21:38
MasterDuke github.com/rakudo/rakudo/blob/mast...1112-L1126
jnthn I vaguely recall that it looked for a QAST::Want and took the int part of that, the existence of which'd imply it's in range and not need the check 21:39
But it may have change some and/or I may misremember :)
MasterDuke github.com/rakudo/rakudo/blob/mast...2239-L2307
timotimo github.com/rakudo/rakudo/blob/mast....nqp#L1027 21:41
check this
MasterDuke ah, just there now
jnthn ah, yes: github.com/rakudo/rakudo/blob/mast....nqp#L1030
MasterDuke afk for a bit, but i'll have to incorporate similar checking when i get back 21:42
21:44 asafniv joined 21:45 p6bannerbot sets mode: +v asafniv 21:47 asafniv left
lizmat still seeing this: Failed to create symlink called '/Users/liz/Github/rakudo.moar/symlink-existing' on target '/private/var/folders/7_/ndrzv7y14fj0zxjx3fy0hfjm0000gn/T/perl6_roast_file_tests_t_line1_0_33639232875052451534631334': Failed to symlink file: file already exists 22:30
in block <unit> at t/spec/S32-io/file-tests.t line 27
:-(
jnthn Not here fwiw, so maybe platform specific... 22:34
lizmat MacOS 22:37
22:47 deltam7 joined, p6bannerbot sets mode: +v deltam7 22:48 deltam7 left 22:51 fake_space_whale left 23:02 evil joined 23:03 p6bannerbot sets mode: +v evil 23:05 evil left 23:18 dct joined, p6bannerbot sets mode: +v dct 23:27 heinrich599119 joined 23:28 heinrich599119 left 23:34 Razesdark joined, Razesdark left 23:52 shreyansh_k11 joined 23:53 p6bannerbot sets mode: +v shreyansh_k11
timotimo lizmat: does that happen reliably? 23:54
lizmat 100%
23:55 shreyansh_k11 left
timotimo can you use that mac os equivalent of strace on that? 23:55
is it dtrace?
ok, dtruss seems to give you what you need, but it might have bo se set suid root to work?
lizmat dtrace: failed to execute perl6: dtrace cannot control executables signed with restricted entitlements 23:57
timotimo uhh? 23:58
perhaps you have to cat (which perl6) and put dtruss in front of the commandline there?
lizmat this is quickly becoming too complicated for me at this late hour on a whiskey tasting filled day 23:59