Perl 6 - the future is here, just unevenly distributed

IRC log for #phasers, 2011-11-02

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

All times shown according to UTC.

Time Nick Message
06:30 cognominal joined #phasers
10:34 sorear joined #phasers
10:34 jnthn joined #phasers
11:04 cognominal_ joined #phasers
11:36 colomon joined #phasers
16:15 cognominal___ joined #phasers
16:21 cognominal_ joined #phasers
16:50 cognominal joined #phasers
17:01 pmichaud joined #phasers
17:02 pmichaud I will be missing #phasers again today -- have little to report.  Tuit shortage continues (and likely continues for at least another 3-4 days).
17:03 jnthn o/ pmichaud
17:25 moritz my prereport:
17:25 moritz * fixed most cases of variables needing to be predeclared (which didn't used to error out)
17:26 moritz * started to catch typed exceptions from the setting
17:26 moritz * more thoughts on docs/faqs
17:26 moritz * hacking on bigint in nqp
17:27 moritz * talked with which seems to be the libtommath maintainer. He'll probably implement a conversion from mp_int to float/double
17:27 prammer joined #phasers
17:27 moritz (which we'll need)
17:28 jnthn \o/
17:28 diakopter joined #phasers
17:28 moritz * used native ints in the setting to speed up Str.{succ,pred}
17:28 moritz EOR
17:28 sorear DID: merged /serialize branch, released v11, implemented BEGIN in niecza
17:28 sorear broke constant Foo = CLR::(...)
17:29 sorear discussed my \x a bit with TimToady
17:29 sorear EOR
17:29 diakopter did: completed first hack at porting 6model/dotnet to luajit. will do: make it work. eor.
17:30 jnthn This week...
17:30 jnthn * Started working on bigint support
17:30 jnthn * Realized that really depended on doing other REPR bits
17:30 jnthn * Did a large refactor of REPR handling
17:30 jnthn * Will help with bigint; also serves as ground work to enable compact structs and packed arrays
17:30 jnthn * Various optimizations and bug fixes
17:30 jnthn * Worked on my talk for TCPW and LPW
17:30 jnthn Over the next week...
17:30 jnthn * Going to TCPW
17:30 jnthn * Bit more work on optimizer
17:30 jnthn * Bit more work on BigInt
17:30 jnthn * Join in with diakopter++'s nqplua hacking
17:30 jnthn EOR
17:32 sorear will do: update documentation.  Fix constant = CLR.  Add some kind of use-from-clr.  Continue wondering why niecza-the-compiler is so slow. EOR
17:32 [Coke] did: minor ticket/fudge wrangling. lamenting lack of time to hack on smolder replacement.
17:33 sorear o/
17:37 moritz any more prereports?
17:39 * sorear needs to find a way to make sense of all these flat profiles
17:42 moritz anything we want/need to discuss?
17:43 sorear is everyone on the same page with bigints?
17:43 * jnthn is fine with everything moritz++ has been doing :)
17:43 jnthn (And very glad he's picked it up.)
17:43 TimToady do we need to be on the same page, as long as everything hides behind the Int abstraction?
17:44 TimToady or does it leak?
17:44 jnthn I'm aiming towards it being hidden behind the Int abstraction.
17:44 jnthn That's a bit part of why I spent the last week doing the repr changes :)
17:44 jnthn *big
17:45 diakopter I encountered some odd discrepancies between the behaviors of luajit when loading RakudoRuntime.lbc (luajit bytecode) and RakudoRuntime.lua (concatenated source of all the *.lua files under lua/runtime).  Probably some bugs that need reported to the luajit author.
17:45 jnthn diakopter: Hm, odd.
17:45 TimToady you do realize that p6 will put more stress on a VM than almost anything out there :)
17:46 diakopter I might be able to golf one of them down enough to be a reasonable bug report
17:47 diakopter instead of a 30,000 line lua file
17:47 diakopter (NQPSetting.lua)
17:47 diakopter still, loading from bytecode saves only 20ms or so
17:48 jnthn That's some really quite fast parsing :)
17:49 jnthn ...or slow bytecode loading ;)
17:49 sorear lua is famed for that
17:50 sorear I am wondering whether I want to keep niecza's compiler in Perl6
17:51 TimToady just make Perl 6 run faster ;)
17:52 sorear the problem with that is that the profile is quite flat
17:52 sorear I need to make *everything* faster to get a significant improvement, I think
17:53 moritz sorear: wouldn't it be easier to profile differently than rewriting the whole compiler in another language?
17:53 cognominal_ joined #phasers
17:55 sorear moritz: I've tried three different Mono profilers and one crude P6 profiler and I can't generally get any function to show above 2% on the self-compile task
17:57 TimToady there are likely to be other abstraction levels than functions that one could factor stuff out from
17:58 TimToady there are also likely to be optimizations for commonly occuring languages
17:58 diakopter if I could get RedGate's decompiler to work on niecza.exe and its dlls, I could use the vstudio profiler
17:58 TimToady parse bits with yacc until you get an error, then reparse to get a better error, say
17:59 TimToady there are probably things common across many different functions that are potentially factorable
17:59 sorear diakopter: does vstudio support ilasm as a language?
17:59 diakopter no
18:00 sorear the problem with niecza.exe is that, well, it's not made from C#
18:00 sorear currently it uses a lot of C#-illegal identifies, but that could be fixed
18:00 diakopter right; I'd need to make Reflector decompile it
18:02 sorear TimToady: I do not quite understand what you mean by commonly occurring languages.
18:03 TimToady Standard Perl 6 vs mutated varieties
18:04 sorear ah.
18:04 TimToady depending on how much overhead there is in regen of a language
18:04 TimToady std used to cache some of that
18:06 diakopter on another note, Pm mentioned that his new regex engine is still going to compile patterns to PIR (with gotos), so I won't be able to use it wholesale in nqplua. <sad />
18:10 sorear I don't think language regen is a huge deal; LTM stuff totals to <10% on the profiles
18:15 * sorear wonders if it would be useful to just write niecza/c and then use a native profiler :D
18:15 diakopter :)
18:24 * sorear out
18:41 cognominal___ joined #phasers
19:42 colomon joined #phasers

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