Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-03-21

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:08 Schwern joined #perl6
00:16 justatheory joined #perl6
00:30 eternaleye joined #perl6
01:03 lyokato_ joined #perl6
01:04 cathya joined #perl6
01:06 BinGOs_ joined #perl6
01:13 Schwern joined #perl6
01:15 meppl good night
01:19 lyokato_ joined #perl6
01:21 aindilis joined #perl6
01:41 [particle] joined #perl6
01:44 penk joined #perl6
02:01 thoughtpolice joined #perl6
02:02 hcchien joined #perl6
02:03 thoughtpolice joined #perl6
02:03 stevan__ joined #perl6
02:06 justatheory joined #perl6
02:12 alester joined #perl6
02:18 shachaf joined #perl6
02:56 c9s___ joined #perl6
03:07 alester joined #perl6
03:18 LazyJim joined #perl6
03:25 c9s____ joined #perl6
03:52 jferrero joined #perl6
04:45 cathya joined #perl6
04:51 GeJ left #perl6
05:31 Psyche^ joined #perl6
06:24 thoughtpolice joined #perl6
06:35 cathya joined #perl6
06:47 alc joined #perl6
06:54 barney joined #perl6
06:55 xxxxxxxxxxxxxx joined #perl6
06:55 luqui joined #perl6
07:14 peepsalot joined #perl6
07:16 xinming_ joined #perl6
07:26 rutlov joined #perl6
07:34 rutlov left #perl6
07:38 Aankhen`` joined #perl6
08:02 xxxxxxxxxxxxxx left #perl6
08:08 ilogger2 joined #perl6
08:37 meteorjay joined #perl6
08:46 buubot joined #perl6
08:49 buu joined #perl6
08:54 wknight-away joined #perl6
08:55 Aankhen`` joined #perl6
08:58 mofino joined #perl6
09:04 BrutusIunius joined #perl6
09:50 alc joined #perl6
09:51 rindolf joined #perl6
10:17 elmex joined #perl6
10:31 BrutusIunius joined #perl6
10:33 c9s_ joined #perl6
11:31 penk left #perl6
11:49 meppl joined #perl6
11:58 BrutusIunius joined #perl6
12:21 BrutusIunius joined #perl6
12:27 chris2 joined #perl6
13:37 LazyJim joined #perl6
13:39 paddy joined #perl6
13:44 wknight-away joined #perl6
13:45 alester joined #perl6
13:49 TJCRI joined #perl6
13:50 BrutusIunius joined #perl6
13:53 [particle] joined #perl6
14:00 rindolf joined #perl6
14:05 jhorwitz joined #perl6
14:10 smtms joined #perl6
14:11 nirz joined #perl6
14:15 nirz left #perl6
14:25 smtms_ joined #perl6
14:49 [particle1 joined #perl6
15:05 BrutusIunius joined #perl6
15:07 [particle1 left #perl6
15:11 pmurias joined #perl6
15:12 pmurias mncharity: should ruby STD_red_run --yaml -e 'say(1)' run on ruby1.119
15:12 jferrero joined #perl6
15:12 pmurias * 1.19
15:12 pmurias * 1.9
15:14 TJCRI joined #perl6
15:36 FurnaceBoy joined #perl6
15:37 jferrero joined #perl6
15:39 rindolf joined #perl6
15:46 mncharity joined #perl6
15:46 mncharity hi pmurias, one sec, backlogging
15:47 BrutusIunius joined #perl6
15:48 mncharity 1.9 has a yaml problem.  there's a note and patch in README.  re say(1), I think so, checking...
15:49 pmurias it works on 1.8
15:50 mncharity ruby1.9 STD_red_run --yaml -e 'say(1)' works for me with a patched yaml.rb.   and ruby1.8 without it.
15:50 mncharity :)
15:50 mncharity I was actually thinking of adding a fast path to <after> to help 1.8 with <ws>.  let's see...
15:52 pmurias seen the patch
15:55 pmurias fixed it
15:57 mncharity eep.  looks like there's been a performance regression, with both 1.8 and 1.9.  perhaps yesterday's "clean up the Match tree" changes.
15:58 BrutusIunius joined #perl6
16:07 mncharity nothing obvious.  so rolling back through revisions looking for the regression.
16:10 justatheory joined #perl6
16:36 peepsalot joined #perl6
16:42 BinGOs joined #perl6
16:42 mncharity ok, so with 1.9, the hit, 2 sec->12 sec, is coming from YAML::Syck.  that 2 sec includes the "never been optimized" original Match dump, so Syck's 10 sec is surprising.  Removing expect_term's nounphrase, which introduces a non-tree-ness, saves Syck 3 sec.  1.8's Syck is a bit worse, and doesn't improve when nounphrase goes away.
16:44 mncharity so... custom yaml dumper?  1.8 with yaml is up around 40 sec, and so unusable.  1.9 at 12 sec is iffy.  2 sec is nice.
16:45 mncharity hmm, wonder if ruby's Syck can be told "don't try to connect up non-tree-ness - just be fast".  because that's the only possibility which comes to mind on why Syck is losing so badly.
16:46 pmurias why is no-tree-ness slow?
16:50 allbery_b ..meaning it's searching for multiply referenced subtrees?
16:50 allbery_b or nodes
16:53 mncharity re 'why is no-tree-ness slow?', keeping track of all the nodes seen, and checking new nodes against them?  where node is any string or Match.
16:54 mncharity hmm, the 'each Match has a copy of the string it matched' might cut that in half...  well, parts of it in half, each Match would still need its copy of the original source string then.
16:54 mncharity err, switching from the current design choice of 'each Match...' might cut...
16:55 mncharity re why slow, that's the only thing which came to mind on why Match's match_describe is <2 sec, while Syck is 10 sec.
16:56 mncharity the 3 sec improvement when nounphrase goes away also suggests this interpretation
17:00 mncharity ah, another almost 3 sec is spent on the formatting of those Match strings.
17:03 mncharity with Match's just containing crosslinks to a single original string, Syck costs 8 sec, down from 9. :/
17:05 mncharity ok.  live with 1.9 12 sec parse for now.  sigh.
17:08 mncharity custom dumper later, especially if Match-tree non-treeness can be minimized or localized.
17:19 Chillance joined #perl6
17:24 pugs_svnbot r20139 | putter++ | [elf_a] slightly prettier Match tree output.
17:24 pugs_svnbot diff: http://dev.pugscode.org/changeset/20139
17:24 lambdabot Title: Changeset 20139 - Pugs - Trac
17:37 Psyche^ joined #perl6
17:44 yahooooo joined #perl6
17:46 mncharity what's the p5 magic phrase to interpolate an expression into a string?  @{...} something like that...?
17:47 wolverian @{[ ... ]} if you want list context, ${\...} if scalar
17:47 lambdabot Maybe you meant: . ? @ bf ft id pl rc v wn
17:47 wolverian just like outside strings :)
17:50 rindolf joined #perl6
17:50 mncharity thanks! :)
17:50 wolverian you're welcome
17:51 Zygo joined #perl6
17:57 tobeya joined #perl6
17:57 pugs_svnbot r20140 | putter++ | [elf_a] beginnings of an IR.
17:57 pugs_svnbot diff: http://dev.pugscode.org/changeset/20140
17:57 lambdabot Title: Changeset 20140 - Pugs - Trac
17:58 mncharity bbl &
18:05 Psyche^ joined #perl6
18:10 pmurias mncharity: will the matches from STD_red be similiar to matches from STD.pm?
18:17 pmurias is there ctags support for perl6 (STD.pm specificly)
18:49 Zygo joined #perl6
18:52 simcop2387 joined #perl6
18:59 Psyche^ joined #perl6
19:13 jrockway joined #perl6
19:55 smtms joined #perl6
20:48 eternaleye joined #perl6
20:51 BinGOs joined #perl6
21:18 marshmallows joined #Perl6
21:19 marshmallows hi, hope everything is going well :)
21:25 thoughtpolice joined #perl6
21:29 TimToady so do we...
21:37 rindolf TimToady: hi.
21:37 rindolf TimToady: I've been using TAP to test Anarki Arc.
21:43 marshmallows hey TimToady, How is it going?
21:43 marshmallows (what's being worked on currently?)
21:44 marshmallows (pugs.blogs hasn't updated in a long time..)
21:47 valerie- joined #perl6
21:55 valrke joined #perl6
22:06 mncharity pmurias: re 'will the matches from STD_red be similiar to matches from STD.pm?', yes.  STD_red's std.rb is just a hand modified version of STD.pm, converting it into executable ruby.
22:09 mncharity re yes, well, that's the intent.  In so far as it doesn't look like a Match tree emitted by STD_red could be produced by STD.pm, that's more or less a STD_red bug.  That said, there seemed no need to add Matches for "pass through" rules.  And there are places where I mishandled the #= comments, which should be tweaked.
22:10 mncharity And the few backtracking rules, don't.  So some as-yet-unknown portion of p6 won't be parsing.  And the same for the absence of longest token.  That said, STD.pm doesn't yet itself define a workable parser, so no big deal.
22:13 mncharity And there's a bit of "well, we're not quite synced with parts of STD.pm, but focus on using it and worry about details later, as STD.pm matures".  But, basically yes.
22:14 mncharity Re backtracking, there's a story for how to add it.  But it's a bit crufty, so I'm just waiting to see if the absence causes problems in practice.
22:16 mncharity pmurias: ctags?  I'd be surprised (very) if there were a ctags mode for p6, but other than that, it should work fine, no?
22:16 mncharity what do you wish it to do?
23:08 Psyche^ joined #perl6
23:15 Limbic_Region joined #perl6
23:29 elmex joined #perl6
23:59 thoughtpolice joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo