00:27 jdv79 joined
jdv79 how come when i try to printf a MVMGrapheme32 with %lu or %ld i get the wrong values like -2 when i think it should be 211 or something. 00:28
jdv79 has no c skills
but i tried the same thing in a small isolated example and it worked fine 00:29
timotimo if it's negative, it's a synthetic
jdv79 ah. oh yeah. that makes more sense. thanks. 00:30
timotimo look for the "synthetic" functions to figure out how to translate it
jdv79 very nice
timotimo feel free to ask me anything else, too :)
i have written a gdb plugin in python before that allows you to print MVMString everywhere they appear. however, they don't handle synthetics yet, now that you remind me of it
geekosaur also, 64 bit platform %ld will expect a 64 bit value, MVMGrapheme32 sounds 32 bit to me? 00:31
timotimo that's right
geekosaur and this matters for varargs functions like printf 00:33
whereas for fixed parameter functions C will upcast when needed
sizeof (int) == 4, sizeof (long) == 8 (x86_64 linux, at least. platform abi will also matter) 00:35
compiler inspects literal format strings for the purpose of warnings, but does not use them to guide code generation, so it's up to you to provide the right size value to go with the format spec 00:39
01:30 cognominal joined, cog-nominal joined 01:48 ilbot3 joined
TimToady maybe someone we trust the trust of someone who should write a decompiler for the nqp bootstrap, someone other than who we've already trusted the trust of in writing it :) 01:54
01:54 vendethiel joined
TimToady perhaps we should not ask a governmental agency to do that, though... 01:55
07:17 FROGGS joined
FROGGS o/ 07:19
07:27 rurban_ joined 07:34 domidumont joined 07:35 timotimo joined
diakopter TimToady: yes, pmichaud is The Govt 07:37
07:40 domidumont joined 07:53 lizmat joined 08:30 domidumont joined
stmuk jnthn put a secret bitcoin miner in moarvm to buy beer and curry with! 09:06
jnthn Shhh! :P 10:10
jnthn works on the Moar release 10:13
That annoying moment when you realize you used all the cutlery, and now can't remember which place in the box is for forks, spoons, etc... 10:26
10:27 FROGGS joined
dalek arVM: 2251272 | jnthn++ | docs/ChangeLog:
Update ChangeLog.
10:38
arVM: c8706f2 | jnthn++ | VERSION:
Update version.
jnthn loves that a complete Moar build completes in 20s with make -j :) 10:42
(Including the 3rdparty deps) 10:44
www.moarvm.org/releases/MoarVM-2016.06.tar.gz 10:47
dalek href="https://moarvm.org:">moarvm.org: e5d7fbb | jnthn++ | / (2 files):
Update for 2016.06 release.
10:55
jnthn And so ends the 30th release of MoarVM :) 10:57
11:03 travis-ci joined
travis-ci MoarVM build passed. jnthn 'Update ChangeLog.' 11:03
travis-ci.org/MoarVM/MoarVM/builds/138557961 github.com/MoarVM/MoarVM/compare/a...51272808f2 11:04
11:04 travis-ci left 11:23 travis-ci joined
travis-ci MoarVM build passed. jnthn 'Update version.' 11:23
travis-ci.org/MoarVM/MoarVM/builds/138557997 github.com/MoarVM/MoarVM/compare/2...706f2b5d1c
11:23 travis-ci left 13:16 domidumont joined 16:28 domidumont joined 16:47 zakharyas joined 18:10 rurban_ joined 21:50 lizmat joined