Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2014-05-15

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

All times shown according to UTC.

Time Nick Message
01:04 FROGGS_ joined #moarvm
01:34 dalek MoarVM: 39c0a4d | jimmy++ | src/6model/ (5 files):
01:34 dalek MoarVM: Removed [read|write]_int[16|32] code from serialization
01:34 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/39c0a4dda2
01:41 xiaomiao joined #moarvm
01:52 btyler joined #moarvm
06:55 zakharyas joined #moarvm
07:03 FROGGS joined #moarvm
07:45 brrt joined #moarvm
08:02 nwc10 jnthn: will you have time at some point soon to sketch out your idea on how struct { MVMint32 sc_idx; MVMint32 idx; } might be got down to a single thing?
08:02 nwc10 IIRC you thought it was possible, but more fiddly what you did to get to O(1)
08:21 timotimo O(1)? i thought this was O(n) now?
08:22 nwc10 Maybe I'm wrong
08:22 nwc10 jnthn improved it from O(bad) to O(better)
08:22 nwc10 I'd like to stick at O(better) and use less RAM
08:34 jnthn Well, what we need to be able to do is take an object and do a lookup of what SC it's in and that index in the SC it lives at during serialization and code-gen.
08:36 jnthn The O(n) was doing a linear search in the SC to find the index
08:36 jnthn O(1) could be achieved by a hash table, but objects can move...
08:39 nwc10 OK. Hmm. One crunchy way would be to burn another header flag, and for 32-bit platforms make the offsets 16 bit, and if either overflows, instead flag that we have a pointer to an 8 byte structure with the real thing
08:39 nwc10 I'm running an optimised build on the Pi with the Object header padded to 8 byte alignmet to get a feel for the slowdown versus the old header size
08:40 nwc10 I have no idea if it's better or worse, as I was doing debugging builds, and they stink (or rattle)
08:44 nwc10 in that Webit blog, llvm.experimental.patchpoint looks a bit crazy, and llvm.experimental.stackmap really crazy
08:52 jnthn gate &
10:29 woolfy left #moarvm
10:57 odc left #moarvm
10:57 odc joined #moarvm
11:04 brrt joined #moarvm
11:39 brrt left #moarvm
11:43 FROGGS joined #moarvm
13:50 btyler joined #moarvm
14:05 FROGGS joined #moarvm
14:32 FROGGS joined #moarvm
14:48 FROGGS joined #moarvm
16:33 odc joined #moarvm
17:38 woolfy joined #moarvm
17:39 nwc10 jnthn: on x86 linux, Stage parse and Stage mast are both about 10% slower if I hack MVMObject to be 1 pointer larger
17:40 nwc10 which makes me think that going the other way, shaving 4 bytes, will be a win just from better cache use
17:43 jnthn ah
17:44 jnthn well
17:44 jnthn and also we will be chewing through the trhingy faster
17:44 jnthn uh
17:44 jnthn the nursery
17:45 nwc10 anyway, unless anyone has a better plan for a structure, I was going to explore the idea of a flag, and either two 16 bit indexes or a pointer to an allocated bigger thing
17:46 jnthn That could work.
17:46 nwc10 but not guaranteed to be tonight
17:46 jnthn *nod*
17:46 nwc10 it's annoying that it uses another flag bit
17:46 jnthn Also, worse, the patches I did so far seem to break stuff :(
17:46 nwc10 well, ARM, certainly.
17:47 nwc10 32 bit Win32 also unhappy?
17:47 nwc10 PPC64 seems to be unrelated
17:48 jnthn No, folks on Linux even see it, building Panda
17:48 jnthn And I reproduced it on my Linux VM last night at home too
17:48 nwc10 Oh, OK, hmmm
18:07 isBEKaml joined #moarvm
18:08 isBEKaml Hi, is Moar known *not* to build on cygwin?
18:09 FROGGS not sure...
18:09 nwc10 if libuv doesn't support MoarVM, then that's the blocker
18:09 isBEKaml let me paste something - it seems to be fialing with libuv.
18:10 isBEKaml http://pastebin.com/0YLXbhuL
18:14 FROGGS isBEKaml: read the comment from tjfontaine: https://github.com/joyent/libuv/issues/845
18:20 isBEKaml FROGGS: that's sad. What's the version of libuv included in MoarVM?
18:20 isBEKaml I do have msys installed here - though I use it rarely. Let me see if I can make it build.
18:21 FROGGS isBEKaml: v0.11.19
18:21 FROGGS this revision: https://github.com/joyent/libuv/commits/666aa2f
18:34 isBEKaml FROGGS: thanks  - It's a bit late in here. I'll figure something out tomorrow. Thanks again!
18:34 FROGGS k :o)
18:35 isBEKaml :-)
19:55 nwc10 jnthn: highest numer of SCs seems to be 149
19:55 nwc10 highest index within an SC is 150230
20:35 john3213 joined #moarvm
20:40 john3213 left #moarvm
21:36 timotimo that's not even a small number
21:51 jnthn Well, it's likely CORE.setting.
21:53 jnthn mmmm...I have a Polish stout
21:58 woolfy joined #moarvm
22:33 cognominal joined #moarvm
22:44 [Coke] jnthn: BEER!
22:44 [Coke] I like the way you think.
22:44 * [Coke] wanders off to beer.
23:24 woolfy left #moarvm

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