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:17 fake_space_whale joined 00:18 p6bannerbot sets mode: +v fake_space_whale
Kaiepi net::icmp's far from trivial to implement so i'm going to get started on net::nntp instead for now 01:16
shit wrong channel 01:17
01:40 stmuk left 01:42 stmuk joined 01:43 p6bannerbot sets mode: +v stmuk 01:45 stmuk_ joined 01:46 p6bannerbot sets mode: +v stmuk_ 01:48 stmuk left 03:33 ZofBot joined, ChanServ sets mode: +v ZofBot 03:34 p6bannerbot sets mode: +v ZofBot 03:45 SourceBaby joined, ChanServ sets mode: +v SourceBaby 03:46 p6bannerbot sets mode: +v SourceBaby 05:21 fake_space_whale left 05:45 AlexDaniel left 05:49 epony left 06:08 dct joined, p6bannerbot sets mode: +v dct 06:39 patrickb joined, p6bannerbot sets mode: +v patrickb 06:55 brrt joined 06:56 p6bannerbot sets mode: +v brrt
Geth nqp: e2cb00a8d9 | (Elizabeth Mattijsen)++ | tools/build/MOAR_REVISION
Bump MoarVM to get Inline::Perl5 fix
07:01
¦ nqp: version bump brought these changes: github.com/MoarVM/MoarVM/compare/2...8-g2fb3265
07:18 epony joined, p6bannerbot sets mode: +v epony
Geth rakudo: da0a81e382 | (Elizabeth Mattijsen)++ | tools/build/NQP_REVISION
Bump NQP to get the fix for Inline::Perl5
07:19
¦ rakudo: version bump brought these changes: github.com/perl6/nqp/compare/2018....5-ge2cb00a
07:31 brrt` joined 07:32 brrt` left 07:34 brrt left 08:20 donaldh joined 08:21 p6bannerbot sets mode: +v donaldh
Geth nqp/master: 4 commits pushed by (Paweł Murias)++ 08:33
08:54 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel
Geth rakudo: 89055755e2 | (Elizabeth Mattijsen)++ | src/core/Str.pm6
Add "count-only" method to Str.Lines/Words iterators

  - makes Str.lines(:count) / Str.lines.elems about 2x as fast
  - makes Str.words.elems about 4x as fast
  - makes both a *lot* more allocation friendly
09:05
09:13 robertle joined 09:14 p6bannerbot sets mode: +v robertle 10:00 MasterDuke left
|Tux| Rakudo version 2018.08-45-g89055755e - MoarVM version 2018.08-28-g2fb3265a1
csv-ip5xs0.933 - 0.971
csv-ip5xs-207.113 - 7.295
csv-parser22.705 - 22.742
csv-test-xs-200.453 - 0.458
test9.187 - 9.246
test-t2.062 - 2.166
test-t --race0.890 - 0.893
test-t-2036.020 - 38.247
test-t-20 --race12.261 - 12.279
10:07
10:40 dct left 10:54 dct joined, p6bannerbot sets mode: +v dct 11:06 brrt joined 11:07 p6bannerbot sets mode: +v brrt 12:12 AlexDaniel left 12:23 brrt left 12:25 brrt joined 12:26 ExtraCrispy left, p6bannerbot sets mode: +v brrt 12:28 ExtraCrispy joined 12:29 p6bannerbot sets mode: +v ExtraCrispy
Geth rakudo: 86468e1ecc | (Elizabeth Mattijsen)++ | src/core/Str.pm6
Fix Str.Lines/Words iterator's count-only

  - doing a count-only should *not* affect the iterator status
  - makes it also about 5% faster
  - also fix typo in Lines iterator, which caused an extra infix:<,> call
12:30
rakudo: 070780e04f | (Elizabeth Mattijsen)++ | src/core/Str.pm6
Add Str.Lines/Words bool-only method

  - makes Str.(lines|words).Bool O**0 (aka independent of size of string)
12:51
13:11 patrickb left
Geth nqp: ac6fff1ed2 | (Paweł Murias)++ | src/vm/js/nqp-runtime/core.js
[js] Make nqp::bitand_s, nqp::bitxor_s and nqp::bitand_s more correct
13:37
13:47 pmurias joined 13:48 p6bannerbot sets mode: +v pmurias
Geth nqp: 715ae5d871 | (Tom Browder)++ (committed using GitHub Web editor) | examples/use-hashes.nqp
add another hash op example
13:50
pmurias m: say(("@" ~& " ").perl) 14:02
camelia "\0"
pmurias according to synopsis we would want to return a empty string here 14:03
m: say(("ab" ~& "a").perl)
camelia "a"
timotimo do the tests specify anything?
pmurias checks
timotimo: I don't think so 14:05
I could change the js implementation and see if they pass ;)
timotimo why not :)
pmurias * still pass
timotimo: the tests don't specify anything 14:14
is #perl6-dev or #perl6 the place for language design questions 14:15
timotimo either should be fine 14:18
pmurias TimToady: what should "a" ~^ "a" return, and also what about "a\0" | "a\0"? 14:19
14:21 travis-ci joined, p6bannerbot sets mode: +v travis-ci
travis-ci Rakudo build passed. Elizabeth Mattijsen 'Add Str.Lines/Words bool-only method 14:21
travis-ci.org/rakudo/rakudo/builds/425722511 github.com/rakudo/rakudo/compare/8...0780e04f49
14:21 travis-ci left
pmurias timotimo: just skipping trailing null seems to make the most sense logically to me (we just assume both strings are infinite and zero padded when they are of different lengths) 14:26
timotimo: OTOH I'm not sure what the use of ~&, ~|, ~^ other than it being in place because it was a Perl 5 feature
14:31 brrt left 14:53 pyrimidine joined 14:54 p6bannerbot sets mode: +v pyrimidine, AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 15:16 fake_space_whale joined, p6bannerbot sets mode: +v fake_space_whale, dct left
TimToady pmurias: I don't think the bitops should be required to trim trailing nulls, but are allowed to truncate the result when they know the rest of it would be "\0" 15:36
which primarily affects ~& so that it is allowed to return a result the size of the shorter argment 15:37
I note that in p5, "a" ^ "a" returns "\0", not "" 15:38
and "a\0" | "a\0" returns "a\0" 15:39
so that's the policy p5 follows, though one could argue that reduction to minimal form should be automatic 15:41
otoh, often you're dealing with a bunch of bitmaps of the same length, so maybe it's wasted effort, and the user can always strip nulls if they want 15:42
anyway, this is one of the few areas where my inclination is to torment the user on behalf of the developer :) 15:44
on the gripping hand, if anyone is seriously using such bitops in p6, they should really be using Buf types rather than Str types 15:51
16:14 robertle left 16:22 brrt joined, p6bannerbot sets mode: +v brrt
timotimo anyone want to implement an elems-only for Grepper or !grep-callable? :) 16:26
16:29 lizmat joined, p6bannerbot sets mode: +v lizmat 16:41 lizmat left 17:08 hoelzro_ left 17:36 ExtraCrispy left 17:37 fake_space_whale left 17:44 hoelzro joined, p6bannerbot sets mode: +v hoelzro 18:03 brrt left 20:01 AlexDaniel left 20:38 lizmat joined, p6bannerbot sets mode: +v lizmat 20:45 pmurias left 20:55 stmuk_ left 21:17 pmurias joined 21:18 p6bannerbot sets mode: +v pmurias 21:21 pmurias left 21:37 dct joined, p6bannerbot sets mode: +v dct 21:48 pmurias joined, p6bannerbot sets mode: +v pmurias 22:16 pmurias left 22:50 b2gills joined 22:51 p6bannerbot sets mode: +v b2gills 23:18 dct left 23:59 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke