Perl 6 - the future is here, just unevenly distributed

IRC log for #parrot, 2014-08-05

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
01:40 FROGGS_ joined #parrot
02:11 kid51_ joined #parrot
02:15 kid51_ joined #parrot
06:51 basiliscos joined #parrot
07:30 basiliscos joined #parrot
08:50 bighugedog joined #parrot
10:14 he joined #parrot
11:28 kid51 joined #parrot
14:24 jsut_ joined #parrot
14:32 rurban1 joined #parrot
14:51 Chirag joined #parrot
14:56 Chirag rurban: Hey!
15:05 rurban Hey
15:05 rurban we still need a nice reproducer for the perl6 CallContext error
15:05 rurban or it could be nqp or perl6 bug only
15:11 Chirag oh.. I see
15:12 Chirag its  not because of our last task right?
15:14 basiliscos joined #parrot
15:21 rurban I don't think so
15:23 Chirag ok.. My branch's current failure is really tricky
15:24 rurban yes, some fundamendal error. you need to check the generated callcontext.c against our hand-fixed one I guess
15:25 Chirag i suspect Parrot_CallContext_class_init
15:43 rurban Chirag: yes, most likely
15:48 rurban nope. Parrot_CallContext_class_init is called correctly 2x, with pass 0 and pass 1
15:57 Chirag joined #parrot
16:08 Chirag hmm..
16:25 Chirag so, I replaced my callcontext.c and .h files with the ones from your branch but still got the same error... I think pmc2c has become faulty ... checking now
17:17 rurban I rather think it's some new replacement code in the call sources
17:21 Chirag yes.. one of these changes (my latest commit vs ur branch's latest commit)
17:21 Chirag https://gist.github.com/ZYROz/0139e9287165407ed437
17:31 Chirag args.c is the culprit
17:32 Chirag I guess one of the methods is behaving there
17:48 khisanth_ joined #parrot
18:32 rurban This works now?
18:32 Psyche^ joined #parrot
18:36 rurban nope, there are just a few wrong direct Parrot_CallContext calls in arrays
18:36 rurban on arrays
18:37 rurban fixed it now
18:41 Chirag check my latest commit .. works
18:41 Chirag still bringing back the exported methods
18:42 rurban I'm squashing now the various commits
18:43 Chirag oh.. give me a while.. I will finish with the conversions
18:54 Chirag rurban: not sure about VTABLE_get*,  VTABLE_set* and VTABLE_exists_keyed_str ...
18:55 rurban there were some arrays treated as CallCopntect
18:56 Chirag would you like to see a git diff with my current changes?
18:56 Chirag just for args.c
18:56 rurban yep
19:05 Chirag https://gist.github.com/ZYROz/0b31f2c775bd152d1263
19:05 rurban about 5 or so wrong calls
19:06 Chirag in this?
19:06 Chirag but builds correctly
19:06 rurban nope, in the old [pcc] More Direct Methods GH #1083
19:06 Chirag oh
19:06 rurban collect_named was wrong
19:06 rurban and current_array
19:07 rurban the rest was good
19:07 rurban I'm benchmarking now
19:07 rurban I hope we are still at 3%
19:07 Chirag wait
19:07 Chirag you are using my args.c ?
19:08 rurban a mix of all, I squashed all together into 2 commits, one for pmc2c and one for the the rest
19:08 Chirag because my args.c is incomplete
19:08 Chirag havent covered gets and sets
19:08 rurban oh
19:09 Chirag also not sure about VTABLE_exists_keyed_str
19:09 Chirag maybe we can first optimize this and then test
19:13 rurban oh, fill_params actually allows NULL call_object
19:14 Chirag ok..
19:14 Chirag I am not sure which VTABLE_set* to change
19:15 Chirag i am getting a SEGV
19:15 rurban I think I've covered all VTABLE cases with CallContext already.
19:15 dalek parrot/pcc-gh1083: 476dd48 | ZYROz++ | lib/Parrot/Pmc2c/ (2 files):
19:15 dalek parrot/pcc-gh1083: [pmc2c] Faster CallContext ATTR accessors + non-static for GH #1083
19:15 dalek parrot/pcc-gh1083:
19:15 dalek parrot/pcc-gh1083: Omit the obj check in the CallContext ATTR accessors.
19:15 dalek parrot/pcc-gh1083:
19:15 dalek parrot/pcc-gh1083: Put CallContext non-static decl into .h as they are not static anymore,
19:15 dalek parrot/pcc-gh1083: so that we can call them now directly internally in src/call/*.c
19:15 dalek parrot/pcc-gh1083: to avoid VTABLE redirection for those.
19:15 dalek parrot/pcc-gh1083:
19:15 dalek parrot/pcc-gh1083: work together with Reini Urban
19:15 dalek parrot/pcc-gh1083: review: https://github.com/parrot/parrot/commit/476dd48f80
19:15 dalek parrot/pcc-gh1083: 844ffaa | rurban++ | src/call/ (3 files):
19:15 dalek parrot/pcc-gh1083: [pcc] use the direct CallContext methods GH #1083
19:15 dalek parrot/pcc-gh1083:
19:15 dalek parrot/pcc-gh1083: and do not use the CallContext vtable methods anymore.
19:15 dalek parrot/pcc-gh1083: also inline one Continuation_set_pointer call.
19:15 dalek parrot/pcc-gh1083:
19:15 dalek parrot/pcc-gh1083: all tests still passing, 2.98% faster.
19:15 dalek parrot/pcc-gh1083: review: https://github.com/parrot/parrot/commit/844ffaa100
19:16 Chirag great!
19:16 Chirag now the tests
19:20 rurban you've also found a couple more VTABLE calls, just a bit too many
19:21 rurban not sure about the slurpy cases. named looks good
19:21 Chirag I was actually debugging by replacing a set of VTABLE calls
19:21 Chirag at a time
19:21 rurban 9.662807002 down to 9.507910017
19:22 Chirag 1.6% only
19:23 rurban 1.63% faster
19:23 rurban this looks closer to reality
19:24 Chirag when I was debugging args.c, I got a feeling that if we used a mix of VTABLE and CallContext, we might get better speed ... (just a feeling)
19:27 rurban interesting
19:28 rurban I'm checking now perl6. we got a CallContext reusage problem there somehere
19:28 rurban somewhere
19:28 Chirag oh
19:30 FROGGS_ rurban++ # though note that I worked around it, so perl6-p is usable atm
19:31 dalek parrot/pcc-gh1083: d815693 | rurban++ | src/call/ (3 files):
19:31 dalek parrot/pcc-gh1083: [pcc] use the direct CallContext methods GH #1083
19:31 dalek parrot/pcc-gh1083:
19:31 dalek parrot/pcc-gh1083: and do not use the CallContext vtable methods anymore.
19:31 dalek parrot/pcc-gh1083: also inline one Continuation_set_pointer call.
19:31 dalek parrot/pcc-gh1083:
19:31 dalek parrot/pcc-gh1083: in fill_params() it is safe to use CallContext directly, as
19:31 dalek parrot/pcc-gh1083: it assumes either NULL or CallContext, but never PMCNULL.
19:31 dalek parrot/pcc-gh1083:
19:31 dalek parrot/pcc-gh1083: all tests still passing, 1.63% faster.
19:31 dalek parrot/pcc-gh1083: review: https://github.com/parrot/parrot/commit/d815693c46
19:51 Coke Chirag++ #gsoc
19:51 Chirag Thanks :)
19:51 rurban Chirag++ :)
19:52 Chirag :)
19:53 rurban btw. did you try to come to YAPC::EU Sofia now?
19:53 rurban because I cancelled my trip there
19:54 Chirag I really wanted to.. the only reason I didnt try was because of campus placements.. but now the placement manager wont let me sit for it either
19:55 rurban I see
19:55 rurban Isn't it too late to ask TPF for travel grants also?
19:56 Chirag yes and no visa
19:56 rurban yes, I remember.
19:56 Chirag maybe next year
19:56 rurban I have to leave the USA also because I got no visa extension yet
19:57 rurban So I'll be 7 hrs away from Util then :)
19:57 rurban but closer to Chirag, only 3.5 hrs then
19:57 Chirag oh! your company cant do anything?
19:57 rurban they tried, but it's the government
19:58 rurban and my wife wants to work, so we go back to Germany
19:58 Chirag maybe I can bring that time diff to zero.. I was offered a thesis at ETHZ for this semester.. I am planning to approach the prof again
19:58 rurban ETH is nice, but Zurich is very very expensive
19:59 rurban one of the most expensive cities at all
19:59 Chirag I know.. thats why I postponed it to next semester.. Now I have GSoC stipend and my internship's stipend so dont need parents' support
20:00 Chirag I was trying for Saarbrucken but they wont take undergrads
20:00 rurban for Zurich you really need a good stipend
20:01 rurban perl6 tests with our pcc-gh1083 branch do look good so far
20:02 Chirag a long shot but I was trying for a parallel internship at Disney Research to help the cause
20:02 rurban which cause?
20:02 Chirag financial :)
20:02 rurban the stipend cause :)
20:03 rurban Because I'm having a serious problem with Disney right now... (Marvel movies)
20:03 Chirag :)
20:03 rurban They need to bring Joss Whedon back in as soon as possible
20:04 Chirag I was at dreamworks.. their art is way better than disney.. but storylines are pathetic
20:04 rurban we just got someone from a big gaming company here who use the same technology as the movie animators. just better
20:04 rurban (real time)
20:05 Chirag I really want to work on all that :D
20:05 Chirag Germany has lots of great universities for vision and graphics... Inria, France as well
20:05 rurban they do 3dMAX/Maja + python or lua scripting
20:06 rurban currently they are outsourcing everything to India
20:07 Chirag but artists in India are expendables... thats what i gathered... no job security
20:07 Chirag in US too
20:07 Chirag Dreamworks US had a very big layoff season
20:09 Chirag TU Graz has this amazing VR technology
20:10 FROGGS_ rurban: what perl6 revision do you use?
20:11 rurban FROGGS_: nom HEAD
20:12 rurban and nqp HEAD and parrot pcc-gh1083
20:12 FROGGS_ rurban: as I said I worked around the issue in rakudo, see: https://github.com/rakudo/rakudo/commits/nom
20:12 FROGGS_ so you'd need b17a24b5f245e8c49605421f081dceb3e33a2efa to get the fails
20:12 rurban I'll check. looked like a Heisenbug in the callcontext reuse to me
20:13 FROGGS_ that sounds very likely
20:15 rurban I see. I'll check it later with --debugging
20:15 rurban I suspect 6model
20:16 rurban1 joined #parrot
20:17 rurban I only got 4 perl6-p fails now in spectests, good
20:18 FROGGS_ yes, that sounds about right
20:36 perlfan joined #parrot
21:42 rurban1 joined #parrot
22:31 Psyche^ joined #parrot
22:45 kid51 joined #parrot
23:41 perlfan joined #parrot
23:41 khisanth_ joined #parrot
23:41 jsut_ joined #parrot
23:41 FROGGS_ joined #parrot
23:41 atrodo joined #parrot
23:41 rblackwe joined #parrot
23:41 GeJ joined #parrot
23:41 Hunger joined #parrot
23:41 slavorg joined #parrot
23:41 janus joined #parrot
23:41 Timbus joined #parrot
23:41 Tene joined #parrot
23:41 Maddingue joined #parrot
23:41 smash joined #parrot
23:41 allison joined #parrot
23:41 simcop2387 joined #parrot
23:41 sorear joined #parrot
23:41 kshannon joined #parrot
23:41 mtj- joined #parrot
23:41 TonyC joined #parrot
23:41 Util joined #parrot
23:41 dalek joined #parrot
23:41 p6eval joined #parrot
23:41 cottoo joined #parrot
23:41 ingy joined #parrot
23:41 Coke joined #parrot
23:48 cooper joined #parrot
23:48 awwaiid joined #parrot
23:48 ggherdov__ joined #parrot
23:48 rurban joined #parrot
23:48 ivan joined #parrot

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

Parrot | source cross referenced