Parrot 5.0.0 "Johnny Five Alive" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 23 January 2013.
00:04 TonyC joined 00:09 TonyC joined 00:14 TonyC joined 01:00 kid51 joined 01:09 Mike-PerlRecruiter_ joined 03:20 kid51_ joined
dalek rrot: 33cdf8c | util++ | docs/project/release_manager_guide.pod:
[doc] Volunteer myself as release manager for February.
03:28
03:43 travis-ci joined
travis-ci [travis-ci] parrot/parrot#805 (master - 33cdf8c : Bruce Gray): The build passed. 03:43
[travis-ci] Change view : github.com/parrot/parrot/compare/1...cdf8c9e1a9
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/4444358
03:43 travis-ci left 04:47 Reini joined 04:57 contingencyplan joined 06:49 Reini joined 07:50 bouncy joined 08:33 Reini joined 09:16 perlite_ joined 09:43 Psyche^ joined
dalek kudo/nom: 92c30bc | moritz++ | src/core/terms.pm:
reverse order of <perl vendor site> dirs in @*INC

we do not have to repeat all of the mistakes Perl 5 has made. nwc10++
09:45
09:48 Reini joined 10:43 elmex joined 10:44 ingy joined, moritz joined, he joined, jsut joined, simcop2387 joined, bouncy joined 10:45 Util joined, jlaire joined, cotto joined 10:46 woolfy joined, atrodo joined 10:49 cxreg joined 10:53 Reini joined 10:56 slavorg joined 11:59 Reini joined 12:19 kid51_ joined 13:02 Reini joined 13:10 Mike-PerlRecruiter_ joined 13:17 Liz joined 13:18 woolfy joined 13:55 cxreg2 joined 13:56 cotto joined 13:59 Liz joined 14:05 Reini joined 14:07 PacoAir joined 14:08 slavorg joined 14:17 bluescreen joined 14:33 nnunley joined 14:37 silug joined 14:52 nnunley joined 14:59 mtk joined 15:08 Reini joined 15:12 Reini1 joined 15:31 Reini joined 15:32 bluescreen joined 15:50 benabik joined 15:59 benabik joined
rurban hi, I'm back in town 16:00
16:00 benabik_ joined 16:02 dmalcolm joined
Coke rurban++ 16:06
arnsholt Parrot_Int8 is available even on platforms where the word size is 32-bit, right? 16:39
rurban it is int8_t, which is from a system header 16:49
wait, not 16:51
arnsholt int64_t, I guess?
Since it's Parrot_Int{1,2,4,8}
But if it's system headers it should be good I think 16:52
Cheers!
rurban I'm not 100% certain that it exists on 32bit 16:53
No, it does not. See config/gen/config_h/config_h.in 16:54
16:54 nnunley joined
benabik Huh? 16:54
rurban #if @HAS_INT64@
And some system do not have HAS_INT64
32bit cygwin has 16:55
benabik Oh. That's a 8 _byte_ int.
rurban long long or longlong
benabik I don't think HAS_INT64 is "64 bit system", it's "this system has a 64 bit int" 16:56
rurban yes
but there are some systems which even do not support long long
benabik Right. So if 32b Cygwin has long long, Parrot should have an Int8 16:57
rurban yes, most of my weird systems have int64/long long 16:58
even 32bit solaris cc
16:59 benabik_ joined
rurban and my 32bit ppc has also int64 17:00
benabik IMHO if Parrot doesn't HAS_INT64 on those systems, it's a bug.
17:01 contingencyplan joined
rurban I can imagine compilers which do not support int64. I just could not find one 17:02
18:51 davidfetter joined
arnsholt Right, so if Parrot_Int8 doesn't exist, I'm no longer in Kansas 19:01
dalek p/dyncall-sized-num: d09685a | (Arne Skjærholt)++ | src/ops/nqp.ops:
Refactor get_attr_{int,num} (which comes in two variants).

They shared some code that takes a pointer and a number of bits and dereferences the pointer as an appropriately sized int/num, so refactor those bits to shared functions.
19:51
p/dyncall-sized-num: 2f37e5d | (Arne Skjærholt)++ | src/6model/sixmodelobject.h:
Kill a piece of dead code.
p/dyncall-sized-num: e92473f | (Arne Skjærholt)++ | src/ (6 files):
Refactor how get_attribute_ref works.

Now, get_attribute_ref works more like at_pos_ref, by way of get_attribute_stable (a new function), so that decoding pointers to embedded type is delegated to the relevant type, rather than done in nqp.ops. This eliminates the need for get_attribute_ref to return the number of bits in the type to the caller via an inout parameter.
Also, this commit temporarily breaks sized int support in CStruct.
p/dyncall-sized-num: 0b7de0c | (Arne Skjærholt)++ | src/6model/reprs/P6int. (2 files):
Update P6int to properly read sized ints.

This restores sized ints in Zavolaj.
There's one caveat to the current implementation: the code won't compile on platforms without a 64 bit int type (Parrot_Int8). However, #parrot assures me that if this type doesn't exist, it's a pretty weird platform.
20:44 ggherdov joined
rurban A old non-gcc compiler on some old 32-bit cpu might have no int64/long long 21:00
armel e.g. 21:01
arnsholt Yeah, I figured I'd find a fix to that once the problem came up 21:20
Turns out there's a stupid implementation decision in the code anyways, so it's likely to not be a problem after all =)
21:29 Hunger joined 21:53 benabik joined 22:00 Liz joined, woolfy joined 22:01 davidfetter joined 22:34 woolfy joined, Liz joined 22:42 Liz joined 22:43 woolfy joined 23:03 jlaire joined 23:09 benabik joined 23:16 jlaire joined 23:48 jlaire joined