Perl 6 - the future is here, just unevenly distributed

IRC log for #parrot, 2014-07-21

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
01:18 FROGGS__ joined #parrot
03:35 bighugedog joined #parrot
05:01 woosley joined #parrot
06:20 dngor joined #parrot
08:32 basiliscos joined #parrot
09:48 Psyche^ joined #parrot
13:08 kjs joined #parrot
15:10 rurban1 joined #parrot
15:42 bluescreen joined #parrot
15:53 Chirag joined #parrot
16:03 Chirag rurban: Hey! Could you please elaborate on how to export the static methods.. I am confused since all the static methods were only being "directly called" in callcontext.pmc ?
16:18 Util Chirag: Please name a method that you are trying to export.
16:44 Chirag so in callcontext.pmc, some of the static methods that are called directly had to be exported to be used in src/call/*.c  .. I ended up removing static from all of them which definitely is not right
16:50 rurban choose an important method, remove the static from the definition, change the call not to via via vtable, rather call it directly and benchmark
16:52 rurban i.e. a simple case: VTABLE_unshift_pmc(interp, call_obj, pmc) => cParrot_CallContext_unshift_pmc(interp, call_obj, pmc)
16:53 rurban every vtable call on a call_obj
16:55 Chirag hmm.. so which static method is changed for this case?
16:56 rurban unshift_pmc
16:56 rurban but this is a bad example
16:56 Chirag but it is not static
16:57 rurban other samples: VTABLE_push_integer(interp, call_object, constant, ...
16:58 rurban VTABLE_exists_keyed_str(interp, call_object, string_value)
16:58 rurban static  void  Parrot_CallContext_unshift_pmc(PARROT_INTERP, ARGMOD(PMC *_self), PMC *value);
16:58 rurban so it is static
16:59 rurban most of the vtable methods are in src/call/args.c
17:16 Chirag ok... understood.. I was being misled by the keyword static.. it only appears in callcontext.c after being process by pmc2c and not in the .pmc
17:17 rurban yes
17:17 Chirag thanks!
17:17 rurban that's why I talked about a possible callcontext exception if it's worthwhile
17:19 Chirag now I can carry on :)
17:21 rurban FROGGS__: thanks, looks good. testing https://github.com/parrot/parrot/pull/1085
17:22 FROGGS__ rurban: nice :o)
17:36 kjs joined #parrot
17:42 dalek parrot: 403ca17 | (Tobias Leich)++ | src/string/namealias (2 files):
17:42 dalek parrot: add char name lookup aliases (LF,FF,CR and NEL)
17:42 dalek parrot:
17:42 dalek parrot: The Perl 6 spec and therefore roast says that e.g. \c[LF] is identical to
17:42 dalek parrot: \c[LINE FEED (LF)]. MoarVM already got a similar patch:
17:42 dalek parrot: https://github.com/MoarVM/MoarVM/commit/​339d547cdd0bec45e2ac3f6d97fb6b9b77bdfce0
17:42 dalek parrot: And it would be nice if Parrot would get this ability, otherwise we would
17:42 dalek parrot: have to do it in a rather slowish way in nqp.
17:42 dalek parrot:
17:42 dalek parrot: Closes GH #1085.
17:42 dalek parrot: Signed-off-by: Reini Urban <rurban@cpanel.net>
17:42 dalek parrot: review: https://github.com/parrot/parrot/commit/403ca17491
17:47 dalek parrot: 9abb27d | rurban++ | t/library/pg.t:
17:47 dalek parrot: [test] fix test number in t/library/pg.t
17:47 dalek parrot: review: https://github.com/parrot/parrot/commit/9abb27dd6f
17:47 dalek parrot: 5b2f932 | rurban++ | t/native_pbc/ (16 files):
17:47 dalek parrot: [native_pbc] update fingerprints
17:47 dalek parrot:
17:47 dalek parrot: with perl tools/dev/pbc_header.pl --update-fingerprint t/native_pbc/*.pbc
17:47 dalek parrot: (should be done before every release, not after)
17:47 dalek parrot: review: https://github.com/parrot/parrot/commit/5b2f932cbe
17:58 dalek parrot: 5410a6d | rurban++ | / (3 files):
17:58 dalek parrot: [docs] Updated StringHandle.readall and FileHandle.readall docs
17:58 dalek parrot:
17:58 dalek parrot: They read just the rest of the buffer if tell > 0. [GH #1084]
17:58 dalek parrot: This is not what you would expect, but perl6 wanted it this way.
17:58 dalek parrot: See GH #930 for the discussion.
17:58 dalek parrot: review: https://github.com/parrot/parrot/commit/5410a6da51
17:58 dalek parrot: 330c4fe | rurban++ | ChangeLog:
17:58 dalek parrot: ChangeLog: update
17:58 dalek parrot: review: https://github.com/parrot/parrot/commit/330c4fe175
18:07 kjs joined #parrot
18:08 travis-ci joined #parrot
18:08 travis-ci [travis-ci] parrot/parrot#1062 (master - 403ca17 : Tobias Leich): The build passed.
18:08 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/ad4076075276...403ca17491ea
18:08 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30481027
18:08 travis-ci left #parrot
18:25 travis-ci joined #parrot
18:25 travis-ci [travis-ci] parrot/parrot#1063 (master - 5b2f932 : Reini Urban): The build was broken.
18:25 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/403ca17491ea...5b2f932cbe35
18:25 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30481431
18:25 travis-ci left #parrot
18:29 kjs joined #parrot
18:29 rurban oh, library/pg.t was ok. need to revert this, and find out how
18:30 dalek parrot: 1f2526c | rurban++ | t/library/pg.t:
18:30 dalek parrot: Revert "[test] fix test number in t/library/pg.t"
18:30 dalek parrot:
18:30 dalek parrot: This reverts commit 9abb27dd6f14bf1fafc312b747a77b1b4c9ae5a5.
18:30 dalek parrot: Need to find out why on my system it only runs 40 tests
18:30 dalek parrot: review: https://github.com/parrot/parrot/commit/1f2526cd03
18:30 dalek parrot: 614a298 | rurban++ | ChangeLog:
18:30 dalek parrot: ChangeLog: revert t/library/pg.t change
18:30 dalek parrot: review: https://github.com/parrot/parrot/commit/614a298214
18:41 travis-ci joined #parrot
18:41 travis-ci [travis-ci] parrot/parrot#1064 (master - 330c4fe : Reini Urban): The build was broken.
18:41 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/5b2f932cbe35...330c4fe175a7
18:41 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30482328
18:41 travis-ci left #parrot
18:50 rurban1 joined #parrot
19:01 travis-ci joined #parrot
19:01 travis-ci [travis-ci] parrot/parrot#1065 (master - 1f2526c : Reini Urban): The build was fixed.
19:01 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/330c4fe175a7...1f2526cd0306
19:01 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30484925
19:01 travis-ci left #parrot
19:15 travis-ci joined #parrot
19:15 travis-ci [travis-ci] parrot/parrot#1066 (master - 614a298 : Reini Urban): The build was fixed.
19:15 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/1f2526cd0306...614a2982149e
19:15 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30484969
19:15 travis-ci left #parrot
19:23 basiliscos joined #parrot
19:50 kjs joined #parrot
20:07 rurban1 joined #parrot
20:27 basiliscos joined #parrot
20:34 tadzik joined #parrot
20:34 tadzik left #parrot
20:46 basiliscos joined #parrot
21:03 basiliscos joined #parrot
21:45 rurban__ joined #parrot
21:52 dalek parrot/rurban/testfast-gh1086: 3996215 | rurban++ | t/library/pg.t:
21:52 dalek parrot/rurban/testfast-gh1086: [test] library/pg.t: handle plan for the 3 cases
21:52 dalek parrot/rurban/testfast-gh1086:
21:52 dalek parrot/rurban/testfast-gh1086: 3 error cases: no libpg.so, service stopped, no nci thunks.
21:52 dalek parrot/rurban/testfast-gh1086: Some smokers run 43, some 40 tests.
21:52 dalek parrot/rurban/testfast-gh1086: So use no_plan and handle the earlier exits properly.
21:52 dalek parrot/rurban/testfast-gh1086: review: https://github.com/parrot/parrot/commit/3996215e09
21:52 dalek parrot/rurban/testfast-gh1086: 7ca829e | rurban++ | / (2 files):
21:52 dalek parrot/rurban/testfast-gh1086: [test] no gc-debug runcore when testing the fast runcore
21:52 dalek parrot/rurban/testfast-gh1086:
21:52 dalek parrot/rurban/testfast-gh1086: With make fulltest and variants (t/fullharness) we omit -D040 and --gc-debug
21:52 dalek parrot/rurban/testfast-gh1086: when testing -f -O1 -O2 and the various set_usual_target() tests.
21:52 dalek parrot/rurban/testfast-gh1086: This caught some -O1/-O2 errors and speeds up the fulltest suite.
21:52 dalek parrot/rurban/testfast-gh1086: We only need to run a full GC after each op and randomize the N/I regs with the
21:52 dalek parrot/rurban/testfast-gh1086: normal internal testsuite, but not the extensions and various other tests.
21:52 dalek parrot/rurban/testfast-gh1086:
21:52 dalek parrot/rurban/testfast-gh1086: Current errors:
21:52 dalek parrot/rurban/testfast-gh1086:   testO1__t/op/calling.t, testO2__t/op/calling.t,
21:52 dalek parrot/rurban/testfast-gh1086:   testO2__t/compilers/imcc/syn/regressions.t
21:52 dalek parrot/rurban/testfast-gh1086: review: https://github.com/parrot/parrot/commit/7ca829eea6
22:07 dalek parrot/smoke-me/pg.t: 1f3b66f | rurban++ | / (2 files):
22:07 dalek parrot/smoke-me/pg.t: [test] library/pg.t: handle plan for the 3 error cases
22:07 dalek parrot/smoke-me/pg.t:
22:07 dalek parrot/smoke-me/pg.t: Some smokers run 43, some 40 tests.
22:07 dalek parrot/smoke-me/pg.t: Use no_plan and handle the earlier exits properly.
22:07 dalek parrot/smoke-me/pg.t: 3 error cases: no libpg.so, service stopped, no nci thunks.
22:07 dalek parrot/smoke-me/pg.t: review: https://github.com/parrot/parrot/commit/1f3b66fa45
22:10 dalek parrot/smoke-me/testfast-gh1086: 9daa2a4 | rurban++ | / (2 files):
22:10 dalek parrot/smoke-me/testfast-gh1086: [test] no gc-debug runcore when testing the fast runcore
22:10 dalek parrot/smoke-me/testfast-gh1086:
22:10 dalek parrot/smoke-me/testfast-gh1086: With make fulltest and variants (t/fullharness) we omit -D040 and --gc-debug
22:10 dalek parrot/smoke-me/testfast-gh1086: when testing -f -O1 -O2 and the various set_usual_target() tests.
22:10 dalek parrot/smoke-me/testfast-gh1086: This caught some -O1/-O2 errors and speeds up the fulltest suite.
22:10 dalek parrot/smoke-me/testfast-gh1086: We only need to run a full GC after each op and randomize the N/I regs with the
22:10 dalek parrot/smoke-me/testfast-gh1086: normal internal testsuite, but not the extensions and various other tests.
22:10 dalek parrot/smoke-me/testfast-gh1086:
22:10 dalek parrot/smoke-me/testfast-gh1086: See [GH #1086]
22:10 dalek parrot/smoke-me/testfast-gh1086:
22:10 dalek parrot/smoke-me/testfast-gh1086: Current errors:
22:10 dalek parrot/smoke-me/testfast-gh1086:   testO1__t/op/calling.t, testO2__t/op/calling.t,
22:10 dalek parrot/smoke-me/testfast-gh1086:   testO2__t/compilers/imcc/syn/regressions.t
22:10 dalek parrot/smoke-me/testfast-gh1086: review: https://github.com/parrot/parrot/commit/9daa2a48dd
22:23 Hunger joined #parrot
22:25 travis-ci joined #parrot
22:25 travis-ci [travis-ci] parrot/parrot#1067 (smoke-me/pg.t - 1f3b66f : Reini Urban): The build passed.
22:25 travis-ci [travis-ci] Change view : https://github.com/parrot/​parrot/commit/1f3b66fa452b
22:25 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30503556
22:25 travis-ci left #parrot
22:36 dalek parrot: 1f3b66f | rurban++ | / (2 files):
22:36 dalek parrot: [test] library/pg.t: handle plan for the 3 error cases
22:36 dalek parrot:
22:36 dalek parrot: Some smokers run 43, some 40 tests.
22:36 dalek parrot: Use no_plan and handle the earlier exits properly.
22:36 dalek parrot: 3 error cases: no libpg.so, service stopped, no nci thunks.
22:36 dalek parrot: review: https://github.com/parrot/parrot/commit/1f3b66fa45
22:36 dalek parrot/smoke-me/testfast-gh1086: 143d57b | rurban++ | t/ (2 files):
22:36 dalek parrot/smoke-me/testfast-gh1086: [test] adjust bad -O1/-O2 test regex
22:36 dalek parrot/smoke-me/testfast-gh1086:
22:36 dalek parrot/smoke-me/testfast-gh1086: with the new fullharness settings there is no space before -O1 anymore.
22:36 dalek parrot/smoke-me/testfast-gh1086: Fixes GH #1086
22:36 dalek parrot/smoke-me/testfast-gh1086: review: https://github.com/parrot/parrot/commit/143d57b890
22:37 travis-ci joined #parrot
22:37 travis-ci [travis-ci] parrot/parrot#1068 (smoke-me/testfast-gh1086 - 9daa2a4 : Reini Urban): The build passed.
22:37 travis-ci [travis-ci] Change view : https://github.com/parrot/​parrot/commit/9daa2a48dddc
22:37 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30503768
22:37 travis-ci left #parrot
23:00 kid51 joined #parrot
23:05 travis-ci joined #parrot
23:05 travis-ci [travis-ci] parrot/parrot#1069 (master - 1f3b66f : Reini Urban): The build passed.
23:05 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/614a2982149e...1f3b66fa452b
23:05 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30505469
23:05 travis-ci left #parrot
23:07 travis-ci joined #parrot
23:07 travis-ci [travis-ci] parrot/parrot#1069 (smoke-me/testfast-gh1086 - 143d57b : Reini Urban): The build passed.
23:07 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/9daa2a48dddc...143d57b890c0
23:07 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/30505467
23:07 travis-ci left #parrot

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

Parrot | source cross referenced