Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-07-17

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

All times shown according to UTC.

Time Nick Message
01:19 JimmyZ FROGGS++, I was always patch nqp-moar-cc.nqp MASTTesting.nqp to win32 only for myself
01:29 JimmyZ FROGGS: you can't patch to MVM_BIGINT_BINARY_OP, not all BINARAY_OP need that, i.e: MVM_BIGINT_BINARY_OP(sub)
01:30 JimmyZ FROGGS: only "or, xor, and"
01:40 FROGGS_ joined #moarvm
04:50 birdwindupbird joined #moarvm
06:43 lizmat diakopter: let me know and I will attend, not sure if I can contribute much on the Jenga end, though
06:48 FROGGS_ JimmyZ: k, will try then, thank you!
06:48 JimmyZ FROGGS_: :P
07:11 FROGGS joined #moarvm
07:29 FROGGS JimmyZ: I use the two_complement now for and/or/xor only... https://gist.github.com/FR​OGGS/223f6f2933837d99315c
07:29 FROGGS if I use it for right/left shift, tests break
07:50 JimmyZ FROGGS: you mean 18 and 20?
07:51 JimmyZ FROGGS: 18 and 20 was failed before
07:52 JimmyZ FROGGS: do you mean use 'two_complement_shl' breaks test?
07:59 FROGGS JimmyZ: I mean that if I uncomment  https://gist.github.com/FROGGS/223f6f2​933837d99315c#file-twos_comp-diff-L101 and comment L100, it breaks tests
08:00 FROGGS which is odd since nqp@parrot does it that way to actually pass tests...
08:02 JimmyZ jnthn: ping
08:07 benabik joined #moarvm
08:09 JimmyZ FROGGS:  two_complement_shl(ia, ib, n); shoulde be  two_complement_shl(ib, ia, n);
08:09 JimmyZ I think
08:50 dalek Heuristic branch merge: pushed 80 commits to MoarVM/container by zhuomingliang
08:51 dalek Heuristic branch merge: pushed 20 commits to MoarVM by zhuomingliang
08:52 JimmyZ ^^ this passed most 67-container.t test
09:03 JimmyZ hmm, maybe not
09:08 JimmyZ jnthn: what's different between assignunchecked and assign? I can't see the differeent in the code s
09:09 JimmyZ *difference
09:37 donaldh joined #moarvm
09:54 eternaleye joined #moarvm
10:05 dalek MoarVM: 0ad0156 | jimmy++ | src/ (4 files):
10:05 dalek MoarVM: implement decont op
10:05 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/0ad0156440
10:05 FROGGS JimmyZ++ # you are the man! :o)
10:05 * JimmyZ decommutes
10:07 timotimo don't you mean ... decontmute?
10:08 FROGGS hehe
10:13 dalek MoarVM: 5dc5893 | (Tobias Leich)++ | src/math/bigintops.c:
10:13 dalek MoarVM: added two_complement_bitop
10:13 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/5dc5893c80
11:26 cognominal joined #moarvm
11:39 colomon joined #moarvm
11:41 benabik joined #moarvm
11:42 JimmyZ Good evening, FROGGS
11:43 FROGGS hi JimmyZ
11:44 JimmyZ hello
12:28 FROGGS pro hint of the day: It is not recommended to run make/nmake in the same project directory from linux and windows at the same time.
12:28 tadzik *giggle*
12:46 benabik joined #moarvm
12:54 dalek MoarVM: c5b1e85 | jimmy++ | / (6 files):
12:54 dalek MoarVM: added assign and assignunchecked ops
12:54 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/c5b1e85c2e
13:03 dalek MoarVM: 9a8bf18 | jimmy++ | src/ (3 files):
13:03 dalek MoarVM: small fixes
13:03 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/9a8bf18a34
13:07 colomon joined #moarvm
13:58 benabik joined #moarvm
14:12 dalek MoarVM: 6a7db8b | jimmy++ | src/core/interp.c:
14:12 dalek MoarVM: fixed serious bug
14:12 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/6a7db8b14e
14:14 JimmyZ ^^ you must do 'cur_op += 4;' before doing invoke
14:34 benabik joined #moarvm
14:54 JimmyZ jnthn: ping
14:55 JimmyZ jnthn: how can I do 2-times invoke in a op?
14:56 jnthn JimmyZ: You have to do it CPS style; see how load bytecode work.s
15:05 JimmyZ jnthn: I'm in assign op do fetch and store. fetch and store in the same op do 2-times invoke, I don't how to do cps
15:09 JimmyZ jnthn: or I break assgin into two ops by use add_core_op?
15:09 jnthn JimmyZ: No, it's handled entirley in C
15:10 jnthn JimmyZ: Leave it if you're not sure; the loadbytecode op is an example of doing this two-invoke thing.
15:27 dalek MoarVM: 7063d72 | jimmy++ | src/core/interp.c:
15:27 dalek MoarVM: fixed decont
15:27 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/7063d7214d
15:27 JimmyZ jnthn: ok :)
15:40 colomon joined #moarvm
16:05 JimmyZ good night
16:05 jnthn 'night, JimmyZ
16:05 FROGGS gnight JimmyZ
16:11 diakopter how did I miss the loadbytecode op appearing
16:15 jnthn I dunno...how could so much that works now, work without it? ;-)
16:17 diakopter yeah..
16:17 diakopter makes me wonder what else I've missed :)
16:18 diakopter jnthn: my windows VM on the macbook retina is FAST with a capital F
16:18 diakopter like, cold boot in 4 seconds
16:18 diakopter with 8 GB ram and 8 cores
16:19 diakopter Parallels++
16:19 diakopter took me a while to figure out how to get the resolution the way I wanted it when on the main hi-dpi screen and then also on a normal external monitor (27")
16:19 diakopter but once I figured that out, it's been awesome
16:21 jnthn Taht's fast indeed :)
17:05 diakopter arnsholt: ping
17:08 FROGGS joined #moarvm
17:30 dalek MoarVM/dyncall: 13968dc | diakopter++ | build/Makefile.in:
17:30 dalek MoarVM/dyncall: somehow I deleted the cat
17:30 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/13968dc5ec
17:33 lizmat .oO( wonder what Schrödinger would think of that )
17:37 dalek MoarVM/dyncall: 98f5888 | diakopter++ | build/Makefile.in:
17:37 dalek MoarVM/dyncall: goof
17:37 dalek MoarVM/dyncall: review: https://github.com/MoarVM/MoarVM/commit/98f5888332
17:37 arnsholt diakopter: pong
17:38 diakopter jnthn: have you heard from japhb?
17:39 diakopter arnsholt: I wanted to answer your question from yesterday
17:40 arnsholt Cool. I was pondering a bit of hacking right about now, so that's very good timing =)
17:41 diakopter arnsholt: well now that I fixed a couple of errors, the dyncall branch builds ok on linux
17:41 arnsholt Excellent
17:43 diakopter jnthn indicated that CStruct repr on nqp-pvm does the right thing with the compose and type stuff
17:43 diakopter so I'm starting there instead of with CArray
17:43 diakopter unless you think I should start another place..
17:44 arnsholt It's one place to start. On JVM I was actually going to start with the CPointer REPR
17:44 diakopter I guess CPointer would be simplest
17:44 diakopter heh.
17:44 arnsholt Yeah, it's the bare minimum
17:45 arnsholt You can even test without any of the REPRs too, mind
17:45 diakopter yeah
17:45 arnsholt Set up buildnativecall and nativecall, and bind printf with a single string argument for example
17:46 arnsholt But TBH, I'd expect large swaths of the Parrot C code to be easily copy-pastable into MoarVM
17:46 diakopter yeah I already did that with all of them :)
17:46 diakopter changing the boilerplate as I go
17:47 arnsholt Cool. I think it'll mostly be a question of weeding out all the Parrot-specific stuff
18:01 colomon joined #moarvm
18:02 dalek MoarVM: 323e524 | (Tobias Leich)++ | src/6model/containers.h:
18:02 dalek MoarVM: newline at EOF, silences a warning
18:02 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/323e524ad8
18:04 yoleaux joined #moarvm
18:05 diakopter .tell jnthn there's a bunch of places I'm finding that need the MVM_ASSIGN macro
18:05 yoleaux diakopter: I'll pass your message to jnthn.
18:06 diakopter .tell jnthn need to do a full code audit one of these days
18:06 yoleaux diakopter: I'll pass your message to jnthn.
18:10 diakopter .tell jnthn er, MVM_ASSIGN_REF
18:10 yoleaux diakopter: I'll pass your message to jnthn.
19:36 cognominal joined #moarvm
20:12 donaldh joined #moarvm
20:51 cognominal joined #moarvm
20:58 prammer joined #moarvm
21:08 bronco_creek joined #moarvm
22:05 FROGGS jnthn: it seems to work
22:07 jnthn yays
22:42 cognominal joined #moarvm
22:52 colomon joined #moarvm
23:12 flussence joined #moarvm
23:48 colomon joined #moarvm
23:54 benabik joined #moarvm

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