»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:01 am0c left, oluoluo joined, oluoluo left 00:03 am0c joined 00:07 Moukeddar left 00:18 replore joined 00:35 wolfman2000 joined 01:13 whiteknight joined 01:21 alvis left 01:22 hundskatt left, alvis joined 01:23 whiteknight is now known as Guest26113 01:32 bonsaikitten joined 01:40 lestrrat left 01:41 lestrrat joined 01:45 wolfman2000 left 01:50 lutok joined 01:57 lutok left 02:02 packetknife joined 02:05 daniel__ joined, daniel__ left 02:06 daniel__ joined
djanatyn juts submitted my first google code-in task :) 02:22
*just 02:23
02:29 drbean left 02:36 drbean joined 02:37 Guest26113 left, whiteknight joined, whiteknight is now known as Guest5111 02:38 wolfman2000 joined 02:40 daniel__ left 02:44 Guest5111 left 02:45 cognominal left 02:47 skangas joined 02:58 packetknife left 03:00 satyavvd joined 03:25 jaldhar joined 03:29 benabik left
diakopter you're a sparticle 03:48
03:59 abercrombie left 04:00 abercrombie joined 04:07 abercrombie left 04:16 birdwindupbird joined, abercrombie joined 04:47 Chillance joined 05:12 sftp left 05:18 drbean left 05:24 envi_ joined 05:25 drbean joined 05:59 worr left, worr joined 06:00 localhost left 06:01 localhost joined 06:03 kaleem joined 06:05 mkramer joined 06:23 mkramer left 06:24 mkramer joined 06:45 hundskatt joined 07:03 wtw joined 07:06 koban joined 07:10 Sarten-X left 07:18 Sarten-X joined 07:29 mkramer left 07:32 am0c left 08:02 birdwindupbird left 08:09 replore left 08:23 mj41 joined 08:36 hundskatt left, mkramer joined 08:44 sayu joined 08:47 mkramer left, mkramer1 joined 08:56 mkramer1 left, mkramer joined 09:06 mkramer left 09:15 am0c joined 09:17 Mowah_ joined 09:20 mkramer joined 09:31 mj41 left 09:32 molaf joined 09:36 molaf left 09:38 mkramer left 09:39 mkramer joined 09:40 dakkar joined
jnthn morning 09:42
moritz \o 09:43
09:45 mj41 joined
jnthn Quiet here today! 09:45
09:45 am0c left, mkramer left
moritz I'm trying to make my way through the dyncall build system 09:46
it uses a lot of includes 09:47
09:48 tzhs joined
jnthn moritz: yeah...it seems to be trying to do the Right Thing for lots of different platforms. Though not sure how well that actaully works out ;) 09:51
My hope was that we can mostly just delegate to it.
moritz jnthn: seems there's an easy-ish fix for my build problem
jnthn yay :)
moritz we can just pass BUILD_DIR to make
jnthn aha 09:52
09:54 fridim_ joined 09:56 sayu left 10:12 wk joined 10:14 worr left 10:17 mkramer joined 10:32 wk left 10:37 mkramer left 10:42 daxim joined
dalek p/nci: 329046c | moritz++ | Configure.pl:
Fix the build on Linux amd64/gcc

Without this fix, "make" in the dyncall-0.6 directory would copy the .a files into a build_out/*/ dir, and thus the nqp ops compilation failed.
I hope this doesn't break the build on other platforms.
10:50
jnthn yay! 10:51
moritz if it does break the build on other platforms, we might try make BUILD_DIR=. or so 10:52
10:53 araujo left, araujo joined
jnthn Still works fine for me :) 10:55
moritz do you use nmake? 10:56
jnthn yes
...oh, and you didn't change that branch :) 10:57
(branch of the if statement)
moritz that's special-cased in Configure.pl, right
11:09 donri joined 11:10 whiteknight joined, whiteknight is now known as Guest50859 11:15 mkramer joined 11:28 envi_ left 11:36 bacek left 11:37 bacek joined 11:38 satyavvd left 11:46 Moukeddar joined 11:53 Moukeddar left
dalek kudo/nci: 1340fa6 | jnthn++ | src/core/Parameter.pm:
Parameter.type should return the type, not its name.
11:59
p/nci: e11c46a | jnthn++ | src/ops/nqp_dyncall.ops:
Decontainerize passed arguments.
11:59 bacek left
jnthn use NativeCall; 12:01
sub GotValues(int, num32, Str) is native('foo.dll') { * }
GotValues(42, 1.23e0, 'oh hai');
12:01 mkramer left
jnthn works \o/ 12:01
12:01 mkramer joined
moritz \o/ 12:08
12:12 Psyche^ joined
moritz do return values work too? 12:16
12:16 Patterner left, Psyche^ is now known as Patterner 12:17 mkramer left
jnthn moritz: Yes, for integers and floats only so far. 12:17
12:17 koban left, mkramer joined 12:20 mkramer left 12:22 mkramer joined, mkramer left
tadzik mood gorning #perl6 12:43
jnthn o/ tadzik 12:46
13:05 Moukeddar joined 13:06 arauko joined 13:07 arauko left 13:22 JimmyZ joined 13:35 mj41 left 13:36 kaleem left 13:37 mkramer joined, leprevost joined 13:40 mkramer1 joined, mkramer left
dalek : a3341b7 | duff++ | misc/perl6advent-2011/topic-brainstorming:
Add jnthn's topics
13:44
13:46 mkramer1 left 13:50 mj41 joined 13:52 Moukeddar left 13:53 mkramer joined 13:55 wk joined 13:57 mkramer left, mkramer joined
dalek : ce5b7c9 | jimmy++ | misc/perl6advent-2011/topic-brainstorming:
add nci to topic branstorming
13:58
14:00 Guest50859 left
moritz should I remove rakudo 2011.07 from the feature matrix? 14:00
there's not too much left that it does that nom doesn't
niecza: die "foo"; CATCH { default { say "ex: $_" } } 14:02
p6eval niecza v11-27-gdaa9117: OUTPUT«ex: foo␤»
moritz nom: do { ENTER { say "foo" } }
p6eval nom e3246e: OUTPUT«===SORRY!===␤ENTER phaser not yet implemented at line 1, near " }"␤»
dalek atures: 154e986 | moritz++ | features.json:
update entries for Temporal and CATCH
14:03
tadzik moritz: let's wait for nom maybe?
erm, start
grr
star on nom
moritz tadzik: ok 14:04
14:05 mkramer left, mkramer joined
tadzik nom: class A { method foo { say self.WHAT } }; A.new.foo 14:12
p6eval nom e3246e: OUTPUT«A()␤»
14:12 mkramer left
tadzik nom: class A { method foo { say "{self.WHAT}" } }; A.new.foo 14:12
p6eval nom e3246e: OUTPUT«Use of uninitialized value in string context␤␤»
tadzik ^ bug 14:14
jnthn Not a bug. 14:15
The first .gists it. The second .Strs it. 14:16
tadzik mhm
anyone, HTTP::Server::Simple now works on nom 14:17
it could use some tests though, I can only guess what the examples were meant to do
ie should the 4th one just fail with "app missing"
14:19 envi_ joined
tadzik nom: say so'/my-name' ~~ / '/' (.+) '-' (.+)/ 14:20
p6eval nom e3246e: OUTPUT«Bool::False␤»
tadzik anyway, bailador magically works too
tadzik feels a temptation to clear the ecosystem of modules that he have never seen working 14:23
tadzik shop & 14:24
14:24 nightlord joined 14:28 nightlord left 14:32 sftp joined 14:47 am0c joined 14:48 tzhs left 14:49 wtw left 15:01 kranius joined 15:11 JimmyZ left 15:22 mvam joined 15:28 mvam left
gfldex rakudo gives me an error without a line number what makes me a little sad 16:00
gist.github.com/1391681
jnthn gfldex: That looks like a crash inside the compiler 16:02
tadzik gfldex: that's because it's a compiler error
jnthn (which just shouldn't happen)
16:02 amkrankruleuen left, amkrankruleuen joined
jnthn Whoa. It actually crashes inside the optimizer. 16:03
That's...rare.
16:04 am0c left
jnthn gfldex: Run it with --optimize=off to avoid the issue; I'll track it down later. Filing a ticket would be helpful so it doesn't get lost :) 16:04
tadzik that's probably due to operator defining magic 16:05
multi method postcircumfix:<( )>() {}
jnthn That'd seem like an odd thing to confuse the optimizer.
I mean, it's just a method.
nom: my $foo; $foo>>.() 16:07
p6eval nom e3246e: OUTPUT«===SORRY!===␤Method 'isa' not found for invocant of class 'Undef'␤»
jnthn Golfed.
nom: $_>>.()
p6eval nom e3246e: OUTPUT«===SORRY!===␤Method 'isa' not found for invocant of class 'Undef'␤»
jnthn Even further golfed.
nom: $_>>.(1)
p6eval nom e3246e: OUTPUT«Too many positional parameters passed; got 3 but expected 2␤ in sub METAOP_HYPER_POSTFIX at src/gen/CORE.setting:8093␤ in block <anon> at /tmp/eJvWJPFQHn:1␤ in <anon> at /tmp/eJvWJPFQHn:1␤»
jnthn ah 16:08
And that looks like a mis-compile
16:31 cosimo left 16:42 vmspb joined 16:49 Ingis left 16:50 Guest2721 joined 16:52 bluescreen10 joined
TimToady Util: my Num() $n = 0; is specced to allow coercion to Num, but nobody implements coercion types yet 16:53
felher Any thoughts on gist.github.com/1391784 ? Otherwise i put it on Rosetta Code, which has no tic-tac-toe-game in Perl6 (or Perl). There is quite a bit of Perl6 stuff in that few lines. Lazy lists, hyper- and reduce-operators, junctions, placeholder-variables, 3-arity-map... 16:55
dalek p/nci: 3587326 | jnthn++ | src/ops/nqp_dyncall.ops:
Fix string passing memory leak.
16:57
p/nci: 497c48b | jnthn++ | src/ (3 files):
Support user-chosen calling conventions (or at least a few extra ones).
17:02 hundskatt joined 17:10 thou joined
jnthn There's a v2 branch in the Zavolaj repository where I've put what I got done so far of the new NativeCall.pm6. 17:12
moritz jnthn: could you please add host04.appflux.net:5000/dalek?t=freenode,perl6 as a post-commit hook to the zavolaj repo? 17:13
I think we all want to know what's going on in there :-)
jnthn added :) 17:14
Though it missed the initial commits :)
github.com/jnthn/zavolaj/blob/v2/l...veCall.pm6 # the only really interesting thing 17:15
17:20 MayDaniel joined
dalek p/nci: 896015d | jnthn++ | src/ops/nqp_dyncall.ops:
Make it so passing a string type object will lead to a null being passed.
17:20
jnthn There's one thing previous zavolaj never did... :) 17:21
flussence yay! 17:23
jnthn OK, basic struct support next, I guess... :)
vmspb Hi 17:27
How to determine when a minus sign before the number (without whitespaces) is part of the definition of a negative number, and when it is a unary operator?
perl6: sub prefix:<-> ($i) {return 10 * $i}; say -3 + 0; say (-3) + 0; say "-3" + 0; say <<-3>> + 0; say «-3» + 0;
p6eval rakudo e3246e, niecza v11-27-gdaa9117: OUTPUT«30␤30␤-3␤-3␤-3␤»
..pugs b927740: OUTPUT«decodeUTF8': bad data: '\171'␤decodeUTF8': bad data: '\187'␤30␤30␤-3␤-3␤-3␤»
daxim jnthn, pythonistas discover Class::Struct news.ycombinator.com/item?id=3273812
17:36 thou left
moritz vmspb: what kind of answer do you expect? 17:36
vmspb As defined in the standard? 17:39
moritz then the answer is probably "by reading the spec, and augmenting it where incomplete" 17:44
17:45 leprevost left
vmspb ok 17:47
17:47 mj41 left 17:51 MayDaniel left 17:55 cosimo joined
flussence I'm trying to get panda to work... it bootstrap.sh's fine, then complains because ext/Shell/Command.pm isn't installed along with it. 18:01
tadzik bootstrap.sh is fine? News
flussence yep, there's stuff in .perl6/lib and all.
tadzik so tests for Test::Mock and JSON::Tiny pass these days?
flussence hm... it ran the panda tests with no test failures, I didn't see it run those though. I'll go check manually first... 18:03
apart from a few uninitialised string warnings JSON::Tiny passes 18:04
(with 1 todo!) 18:05
18:05 dakkar left
flussence oh, Test::Mock barfed. 18:06
gist.github.com/1391945 18:07
sorear trip&
tadzik flussence: yes, that's expected 18:13
flussence: does everything work if you install panda with ufo? 18:14
flussence nope. `ufo && make` dies while looknig for Shell::Command 18:16
s/ni/in
tadzik hm 18:19
oh, correct 18:20
you'll have to ' PERL6LIB=ext make 'or so
18:22 icwiener joined, kaleem joined 18:23 kaleem left, birdwindupbird joined, birdwindupbird left
flussence aha, that worked. Still no Shell::Command installed though 18:23
tadzik yeah, you'll have to manually install everything in ext/ :/ 18:26
panda should do that in bootstrap, but bootstrap doesn't work because test-mock and json tests fail
flussence interesting... "Incorrect pre-compiled version of lib/JSON/Tiny.pm loaded" 18:28
rm'ed *.pir, almost works...
tadzik yeah, I know that one 18:29
free beer for anyone who fixes that
flussence aaaand... another error after all that. oh well :( 18:30
oh wait, I'm being dumb
(it's "panda list", not "--list"...) 18:31
that works \o/
tadzik :) 18:32
18:39 swarles joined 18:47 envi_ left 18:51 mj41 joined 18:52 vmspb left 18:57 Trashlord left
tadzik any ideas how to make HTTP::Server::Simple a little bit non-blocking to be able to test it? 18:57
19:11 IngisKahn joined
moritz IME "a little bit non-blocking" usually doesn't work 19:15
for non-blocking you need quite a different API
tadzik well, any testability is fine 19:16
gfldex is there a nom web repl? 19:22
19:25 daxim left
jnthn Not unless try.rakudo.org runs nom. 19:25
afk for a little bit 19:28
gfldex An error has occured on the server. Error Message: 19:31
Timeout, operation took too long.
that's for An error has occured on the server. Error Message:
that's for try.rakudo.org/
moritz nom: say True.gist 19:47
p6eval nom e3246e: OUTPUT«Bool::True␤» 19:48
moritz nom: say True.perl 19:52
p6eval nom e3246e: OUTPUT«Bool.new()␤»
dalek kudo/nom: d5d5a3f | moritz++ | src/core/ (2 files):
Merge pull request #42 from lumimies/nom

Fix gist/perl for Junction and Bool
19:53
20:09 y3llow_ joined 20:10 y3llow left, y3llow_ is now known as y3llow
jnthn back 20:16
Time to make a cup of tea, and hack on structs some. 20:17
20:18 Moukeddar joined
japhb hacking++ 20:22
moritz gist.github.com/0e91e92c32570e8fb15c # that's the current spectest summary (of nom branch) 20:23
any idea where the various failures come from?
jnthn t/spec/S04-blocks-and-statements/pointy.rakudo # mls++ pointed out that the test is wrong... 20:24
moritz nom: say ('100.B' .. '102.B').Str 20:25
p6eval nom e3246e: OUTPUT«No applicable candidates found to dispatch to for 'Numeric'. Available candidates are:␤:(Mu, Mu %_)␤␤ in method Numeric at src/gen/CORE.setting:621␤ in sub infix:<==> at src/gen/CORE.setting:2031␤ in sub infix:<==> at src/gen/CORE.setting:2031␤ in method infinite …
japhb I discovered (roughly) why my Str.Numeric changes broke 'my @a = "a".."c";' and I'm still working out the least invasive way to make it work again. But let me just say, the amount of work that gets done for that statement compared to 'my @a = 1..3;' is just crazy.
jnthn japhb: ah, is that the above bug?
japhb Um ... my changes are unpushed; that error is not from me. However, I think that 20:26
jnthn moritz: The S12 ones are new on me.
japhb: ah, ok
I have the range one here...
Or at least, it's in nci branch
japhb the error moritz is seeing is just a more subtle version of the same problem.
jnthn ah, ok
japhb (My changes make the problem more obvious, because they fail() rather than 'return 0' more often.)
jnthn moritz: The two S12 ones pass here 20:27
moritz $ ./perl6 t/spec/S10-packages/use-with-class.t
===SORRY!===
Incorrect pre-compiled version of src/gen/Metamodel.pm loaded
I've seen that one before
jnthn oh hm
moritz I think it goes away if I clean and recompile everything
still it shouldn't happen
jnthn Would really appreciate instructions on reproducing taht one. 20:28
moritz I've run Configure.pl before building my nom
20:29 cognominal joined
moritz oh! 20:30
I've had a totally unrelated Foo.pir lying in my rakudo home
(from checking the precompilation of fat Rats)
tadzik the .pir stuff is quite broken
moritz deleting that makes the error from use-with-class go away
tadzik flussence observed that today as well
moritz ... and then fails after test 7 with 20:31
You cannot create an instance of this type
ah, that mmight be the Foo.pm
jnthn We really need a --trace-load or something that gets it to dump what modules i'ts actually loading, and from where, etc. 20:32
moritz and we need to get rid of . in the module loading path 20:33
jnthn Very much so.
And probably lib too
moritz aye
jnthn We do need a way to tell the test suite to use a local Test.pm over any installed one.
Well, a general way to say "take a local one over an installed one"
Trying to run the test suite with an installed Test.pir will, of course, fail epicly. 20:34
We *can* loosen this a bit, if we can start naming serialization contexts after a hash of the source.
Rather than a timestamp of when the compilation happened. 20:35
dalek ast: aed8452 | moritz++ | S04- (2 files):
fix a test, rakudo unfudges
20:36
20:37 ksi joined
japhb How would I dump a stack trace from within the code I'm debugging? 20:40
Basically, I'm trying to figure out what the call chain was that led to something being called bogusly.
moritz an easy hack is try { die }; print $!.backtrace 20:42
nom: try { die }; print $!.backtrace
p6eval nom d5d5a3: OUTPUT« in block <anon> at /tmp/riwobDpo2g:1␤ in block <anon> at /tmp/riwobDpo2g:1␤ in <anon> at /tmp/riwobDpo2g:1␤»
jnthn moritz: could Backtrace.new() just me made to give you one from the current position? 20:43
japhb moritz: thanks for the idea!
moritz jnthn: yes, it can be made 20:44
just needs some fiddling, I guess
nom: say pir::getinterp__P().backtrace 20:45
p6eval nom d5d5a3: OUTPUT«Method 'backtrace' not found for invocant of class 'ParrotInterpreter'␤ in block <anon> at /tmp/homoBgBpqC:1␤ in <anon> at /tmp/homoBgBpqC:1␤»
moritz I just need to remember how to make parrot emit one :-)
20:46 Moukeddar left
moritz ah, I can just use the cheat that I told japhb about 20:48
it won't be very efficient, but I don't think it's a very common operation either
20:49 fridim_ left
japhb One hopes not ... 20:50
moritz I have a small patch that makes Backtrace.new() DWIM, just need to check that it actually compiles :-) 20:52
dalek kudo/nom: de3997a | moritz++ | src/core/Backtrace.pm:
make Backtrace.new() DWIM
21:01
21:05 thou joined 21:07 thou left
dalek p/nci: 5899327 | jnthn++ | / (3 files):
Start to stub in a CStruct REPR.
21:10
p/nci: 9f0fc01 | jnthn++ | tools/build/Makefile.in:
Add some missing makefile deps.
p/nci: c7250db | jnthn++ | src/6model/reprs/CStruct.h:
Sketch out more of how CStruct probably needs to end up looking once it supports the bits it'll need to.
p/nci: fabd74f | jnthn++ | src/ops/nqp_dyncall.ops:
An (untested) shot at getting the native call handling side of passing a CStruct in place.
felher rosettacode.org/wiki/Tic-tac-toe#Perl_6 21:23
21:27 PacoLinux left 21:28 PacoLinux joined 21:34 donri left
japhb Hah! I think I found the problem: github.com/rakudo/rakudo/blob/nom/...nge.pm#L31 21:41
That == ends up coercing both sides to Numeric, and if the coercion of $.max results in Failure, then boom. 21:42
jnthn oh!
good find
japhb++
japhb thanks. :-)
What's the most performant fix? 21:43
jnthn most performant?
bind $.max into a lexical, then nqp::istype($max, Numeric) && $max == $Inf 21:44
japhb Will cause the least loss of performance.
jnthn well, that's probably fastest.
It saves calling .max twice
and nqp::istype is the fastest way to do type checks
japhb What about replacing == with something that checks identity (I'm fuzzy on those ... === or =:= ?) 21:45
jnthn Sounds a little risky 21:46
japhb Why? (I have a feeling the answer to that will Teach Me Something Important.)
Oh wait, 21:47
21:47 molaf joined
jnthn === will need to return an ObjAt at some point 21:47
japhb You could have gotten an Inf from some other way than assignment to $Inf, right?
And it would not be the same object.
jnthn And even what it does today is probably no cheaper than the ==
But more important is...yes, that. :)
japhb ah, OK.
japhb had the singleton-ness of $Inf locked in his brain, and forgot that it was merely one possible way to get an infinite value. 21:48
21:52 Khisanth joined 22:00 Guest2721 left 22:09 colomon_Droid joined
colomon_Droid o/ 22:09
jnthn o/ colomon_Droid
colomon_Droid happy Thanksgiving!
22:10 thou joined
jnthn To you too :) 22:11
22:11 swarles left
colomon_Droid sorear: ping 22:12
jnthn colomon_Droid: sorear mentioned he was leaving for a trip earlier; I got the impression he's away a couple of days 22:13
colomon_Droid Darn
jnthn++
Anyone out there know how to create a System.Byte in niecza? 22:14
22:15 sayu joined
colomon_Droid Doing this sort of development without a proper internet connection is a real pain 22:15
masak dear #perl6, hello. 22:18
colomon_Droid o/ 22:19
Tene hi masak 22:20
masak I'm having the busiest week of the year this week. that's why I've been a bit absent lately.
22:21 ksi left
jnthn masak's doing all the work at $dayjob while I'm just bumming about at home hacking on NCI :P 22:21
masak yeah; slacker :P 22:22
Tene I had my busiest week of the year two weeks ago; I was on-call during switch upgrades in the cluster that went poorly (ran into a bug causing repeated switch failures). 22:27
arnsholt OTOH, we all heart jnthn for making NCI =D 22:28
masak 22:32
jnthn didn't really heart reading through a disassembly of generated in-memory assembly code trying to work out why his Win32 API calls blew up 22:33
Turns out they fixed the Win64 call conv alignment bug in SVN, so I just need to grab us the latest at some point :)
22:34 sayu left 22:37 colomon_Droid left 22:39 thou left
dalek p/nci: 02dca35 | jnthn++ | src/6model/reprs/CStruct. (2 files):
Steal some bits from P6opaque and twiddle with them to start getting things into a more CStruct-ish shape.
22:40
p/nci: 878aafe | jnthn++ | src/6model/reprs/CStruct. (2 files):
Get allocationy bits of CStruct in place, or at least for the basic cases.
masak perl6: my %h = foo => 0, bar => 42; say so %h{ 'foo' | 'bar' } 23:05
p6eval rakudo de3997, niecza v11-27-gdaa9117: OUTPUT«Bool::True␤»
..pugs b927740: OUTPUT«*** No such subroutine: "&so"␤ at /tmp/PXzZmjvt_A line 1, column 34 - line 2, column 1␤»
masak perl6: my %h = foo => 0, bar => 42; say %h{ 'foo' | 'bar' }.perl
p6eval rakudo de3997, niecza v11-27-gdaa9117: OUTPUT«any(0, 42)␤»
..pugs b927740: OUTPUT«\undef␤»
jnthn ooh, basic struct passing nearly worked
23:09 kranius left, skangas left, alester left, jevin_ left, robins left, stepnem left, snarkyboojum left, Mowah_ left, wooden left, Lothar left, icwiener left, localhost left, Juerd left, uniejo left, amkrankruleuen left, zostay left, aloha left, Khisanth left, cosimo left, abercrombie left, kfo left, xinming_ left, estrabd_afk left, araujo left, s1n left, overrosy left, mdxi left, rafl left, hundskatt left, alvis left, arlinius left, simcop2387 left, buubot_backup left, Woodi left, miso2217__ left, c9s left, sftp left, drbean left, bonsaikitten left, tadzik left, domidumont left
japhb jnthn, would there be any performance advantage to binding 'self 23:09
erg
jnthn, would there be any performance advantage to binding 'self' to a lexical and using $self instead for an expression that involves several uses of self? 23:10
jnthn japhb: No
japhb: self *is* stored as a lexical :)
japhb jnthn, ah, good.
jnthn japhb: And looked up as one :)
So you'd just have another variable and spend time doing a binding, and win nothing ;) 23:11
japhb I suspected so, but as my machine is currently recompiling Rakudo, I couldn't check directly. :-)
nodnod
jnthn yeah, mine too
jnthn thinks he founds his off-by-16-bytes error
23:13 Khisanth joined, icwiener joined, cosimo joined, hundskatt joined, sftp joined, araujo joined, localhost joined, drbean joined, abercrombie joined, bonsaikitten joined, alvis joined, arlinius joined, Lothar joined, tadzik joined, Juerd joined, kfo joined, uniejo joined, s1n joined, xinming_ joined, overrosy joined, simcop2387 joined, c9s joined, buubot_backup joined, Woodi joined, amkrankruleuen joined, estrabd_afk joined, zostay joined, rafl joined, aloha joined, domidumont joined, miso2217__ joined, mdxi joined, awwaiid joined, revdiablo joined, hillu joined, yath joined, ashleydev joined, wolverian joined, prammer joined, sivoais joined, kst joined, twinshadow joined, silug joined, felher joined, integral joined, slavik1 joined, ascent__ joined, jjore_ joined, krakan joined, clkao joined, jasonmay joined, jtpalmer joined, athomason_ joined, ranguard joined, ruz joined, __sri joined, pnu joined, TimToady joined, szabgab joined, ingy joined, apejens joined, baest joined, arnsholt joined, Lorn joined, nsh joined, _ilbot joined, phenny joined, Timbus joined, saaki joined 23:15 Mowah_ joined, wooden joined, zb joined, kcwu joined, flussence joined, charsbar__ joined, Bucciarati joined, Gothmog_ joined, jfried joined, moritz joined, ruoso joined, jerome_ joined, betterworld joined, Helios joined
japhb Bah. I hate it when I find a bug, but have to go AFK and can't fix it immediately. :-( 23:15
23:15 kranius joined, skangas joined, alester joined, robins joined, jevin_ joined, stepnem joined, snarkyboojum joined, sjn joined, diakopter joined, Grrrr joined, PerlJam joined, [Coke] joined, felipe joined, tomaw joined, literal joined
dalek p/nci: c14163d | jnthn++ | src/ops/nqp_dyncall.ops:
Handle cstruct as one of the types we now recognize.
23:15
p/nci: ceaf986 | jnthn++ | src/6model/reprs/CStruct.c:
Fix struct offset computation; add the attribute lookup bits we need for the basic int/num attributes we support thus far.
23:16 stepnem left
jnthn OK, here's the state of NCI now: gist.github.com/1392493 23:16
23:16 icwiener left, HarryS left, icwiener joined
jnthn Still loads to do on this struct stuff, but it's easier to hack towards something that works more when there's something that basically works :) 23:16
23:17 Mowah_ left, HarryS joined
jnthn The top file is C, which I compile to a DLL. The second thing is the Perl 6 binding to it. Note the "is repr('CStruct')" on the class. It's a normal class, but it builds a C structure underneath. Quite limited so far; in the end it'll do the struct of sturct thing, etc. 23:18
tadzik supercool :)
jnthn++
23:19 stepnem joined 23:28 Chillance left
masak good night, #perl6 23:32
jnthn Updated gist.github.com/1392493 to show one thing that wasn't clear before 23:34
felher yeah, jnthn++ 23:39
23:45 s1n left, envi_ joined, s1n joined
jnthn sleep time & 23:50
23:51 mj41 left