Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-09-26

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

All times shown according to UTC.

Time Nick Message
00:58 FROGGS_ joined #moarvm
01:58 FROGGS__ joined #moarvm
02:15 diakopter joined #moarvm
02:15 diakopter .
03:25 dalek MoarVM: d0c48cb | jimmy++ | src/io/procops.c:
03:25 dalek MoarVM: Small clean up to MVM_proc_spawn
03:25 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/d0c48cbcb9
04:11 cognominal joined #moarvm
04:55 not_gerd joined #moarvm
04:55 not_gerd o/
04:55 yoleaux 24 Sep 2013 16:52Z <jnthn> not_gerd: in b431a11, I suspect the code following "/* Identify REPRs by address of name string */" is fragile. For example, two different libraries trying to register the same REPR name would have the string constants at different addresses. I'd just do a strcmp there.
04:56 JimmyZ \o
05:01 TimToady o/
05:09 not_gerd oo( IndyBootstrap.java - I wonder if that's named after the dog )
05:15 not_gerd hm...
05:16 not_gerd CallFrame.java uses the same (broken?) algorithm to find he outer frame that MVM_frame_invoke() uses
05:17 JimmyZ broken?
05:18 not_gerd the 56-role.t failure
05:19 not_gerd role_meth is lexically enclosed by frames 34, 30, 0
05:19 not_gerd if there's no explicit outer set, we start looking for the outer (frame 34) at cur_frame, which, in this case, is frame 30
05:20 not_gerd which of course means we miss frame 34 and fail with 'Cannot locate an outer frame for the call'
05:22 JimmyZ I see there is autoClose in the CallFrame.java
05:26 not_gerd that... doesn't look right to me
05:27 JimmyZ a cheat? :P
06:56 dalek MoarVM/ctypes2: 9b7e6af | (Gerhard R)++ | / (9 files):
06:56 dalek MoarVM/ctypes2: Add VMBlob and VMPtr representations
06:56 dalek MoarVM/ctypes2: review: https://github.com/MoarVM/MoarVM/commit/9b7e6afb79
06:56 dalek MoarVM/ctypes2: 3ad7f44 | (Gerhard R)++ | .gitignore:
06:56 dalek MoarVM/ctypes2: Ignore files with leading __
06:57 dalek joined #moarvm
06:59 not_gerd bye, #moarvm
06:59 not_gerd left #moarvm
07:17 FROGGS joined #moarvm
07:22 FROGGS o/
07:24 dalek MoarVM/cleanup: c531595 | jimmy++ | src/6model/reprs/ (5 files):
07:24 dalek MoarVM/cleanup: Code clean up
07:24 dalek MoarVM/cleanup: review: https://github.com/MoarVM/MoarVM/commit/c531595dd7
07:24 JimmyZ \o
07:26 JimmyZ .tell jnthn are you fine to https://github.com/MoarVM/MoarVM/commit/c531595dd7 ?
07:26 yoleaux JimmyZ: I'll pass your message to jnthn.
07:29 FROGGS hmmm, then you don't see which repr it was :o(
07:30 JimmyZ FROGGS: you will, see reprs.c
07:30 FROGGS ahh, yeah, I see now :o)
07:30 FROGGS JimmyZ++
07:30 JimmyZ ;)
07:31 FROGGS static void die_no_ass() *lol*
07:40 tadzik what? :D
08:06 arnsholt tadzik: Remember that Python-on-NQP thing we talked about in Oslo a bit back? =)
08:06 tadzik arnsholt: yep :)
08:12 arnsholt I accidentally one: https://github.com/arnsholt/nqpy
08:13 arnsholt Oh, this isn't #perl6. Whoops
08:13 FROGGS this isnt #python either :o)
08:13 arnsholt I think NQP things are relevant to #perl6 at least =)
08:14 FROGGS gah, arguments
08:16 tadzik arnsholt: yay :)
08:26 cognominal joined #moarvm
08:28 odc joined #moarvm
09:09 foo_bar_baz joined #moarvm
09:11 dalek MoarVM: 9160004 | jimmy++ | src/6model/reprs/ (5 files):
09:11 dalek MoarVM: Code clean up
09:11 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/9160004db8
09:59 donaldh joined #moarvm
12:08 jnap joined #moarvm
12:54 donaldh joined #moarvm
13:12 cognominal joined #moarvm
14:29 cognominal joined #moarvm
15:05 jnap joined #moarvm
15:43 FROGGS[mobile] joined #moarvm
15:53 not_gerd joined #moarvm
15:53 not_gerd o/
15:53 dalek MoarVM/ctypes3: b734303 | (Gerhard R)++ | src/native/ (3 files):
15:53 dalek MoarVM/ctypes3: Bits and pieces of CArray
15:53 dalek MoarVM/ctypes3: review: https://github.com/MoarVM/MoarVM/commit/b734303325
15:53 dalek MoarVM/ctypes3: 010f6a4 | (Gerhard R)++ | / (28 files):
15:53 dalek MoarVM/ctypes3: Refactor C scalars
15:53 dalek MoarVM/ctypes3: review: https://github.com/MoarVM/MoarVM/commit/010f6a40f1
15:53 dalek MoarVM/ctypes3: 05cdd18 | (Gerhard R)++ | src/native/CArray.c:
15:53 dalek MoarVM/ctypes3: (Partly) implement CArray at_pos/bind_pos
15:53 dalek MoarVM/ctypes3: review: https://github.com/MoarVM/MoarVM/commit/05cdd185a5
15:56 not_gerd using C types now looks like this: https://gist.github.com/gerdr/627e5508d69920e6e3aa
16:03 not_gerd jnthn: you'll take care of fixing prior_invocation/outer handling on MoarVM?
16:04 jnthn not_gerd: Yes, prior_invocation must die
16:04 jnthn And MoarVM has little enough atop of it so far (just NQP) that it's the least painful place for me to get a new way in place.
16:04 jnthn May get to it this weekend.
16:05 not_gerd ++jnthn
16:05 not_gerd that will hopefully fix t/nqp/56-role.t
16:06 jnthn yeah. Hope so :)
16:09 not_gerd another question: what's your plan with containers re native types?
16:09 not_gerd a kind argument à at_pos/bind_pos
16:09 not_gerd and assign_i/decont_i ops?
16:09 not_gerd or something completely different?
16:09 jnthn Probably assign_i/decont_i style
16:10 * jnthn really should gets his grant app done for doing native arrays and fixing native is rw in Rakudo (amongst other things) in...
16:12 TimToady no, paint our bikesheds!!!
16:14 jnthn not_gerd: We'll probably need 3 kinds of native container: lexical, array and attribute
16:14 [Coke] as a member of the GC (which has nothing to do with hague grants), I agree, finish your grant. :P
16:14 jnthn not_gerd: Of course, I hope that the *majority* of these can be optimized away before Moar ever gets 'em.
16:14 jnthn not_gerd: But we can maybe kill even more once we get to inlining...
16:14 [Coke] as the next release manager, let's get moarnqp ready for that release!
16:15 jnthn [Coke]: Well, we're also aiming at first JVM Star from the next release too :)
16:16 TimToady RJar
16:16 [Coke] jnthn: DO ALL THE THINGS
16:16 [Coke] ... btw, this is my directive at work.
16:16 TimToady you have to do a few things that aren't things too
16:16 * jnthn also has to DO ALL THE THINGS at $dayjob too, for a certain set of things. :)
16:17 TimToady .oO(Trogdor Burnoutator)
16:19 jnthn Well, I had a long weekend break just now and I've got a week of vacation time on my schedule at the end of October, so hopefully I'll stay sane-ish :)
16:20 * [Coke] was just inspired to draw a "code all the things" guy on his whiteboard. jnthn++
16:21 [Coke] I had the mini vacay to come to the workshop... first day back at work I felt awesome, motivated, ready to... next day, RAWR.
16:21 [Coke] it's been a week and I'm considering job hunting. :P
16:39 FROGGS[mobile] I know that feeling
16:54 FROGGS joined #moarvm
17:38 dalek MoarVM/ctypes3: e1111b1 | (Gerhard R)++ | src/native/ (3 files):
17:38 dalek MoarVM/ctypes3: Push stuff from CArray instances into REPR_data,
17:38 dalek MoarVM/ctypes3: in particular elem_count
17:38 dalek MoarVM/ctypes3:
17:38 dalek MoarVM/ctypes3: I originally wanted to avoid having to create new
17:38 dalek MoarVM/ctypes3: type objects for each array of different size.
17:38 dalek MoarVM/ctypes3:
17:38 dalek MoarVM/ctypes3: However, this is closer to C semantics and will
17:38 dalek MoarVM/ctypes3: make multi-dimensional arrays easier to implement.
17:38 dalek MoarVM/ctypes3: review: https://github.com/MoarVM/MoarVM/commit/e1111b1c70
17:43 TimToady most of the time an application will only use a few shaped sizes anyway; applications with variable shapes will generally just use a shape of * instead of a bunch of specific sizes
17:44 jnthn Buf does type obj per size also
17:44 jnthn Fits in well with having a parametric role
17:45 TimToady so basically every Blob gets its own type object?
17:45 TimToady that won't scale down very well
17:45 jnthn Not every *blob*
17:45 jnthn Every parameterization of Blob
17:46 jnthn Buf[int8], Buf[int16], etc.
17:46 TimToady okay, I grok now
17:47 TimToady Bufs/Blobs are still shape(*) in the .elems direction
17:48 TimToady you confused me by using an overloaded term like "size", which is almost as bad as "length"  :)
17:52 not_gerd https://gist.github.com/gerdr/627e5508d69920e6e3aa # 4x4 matrix of long double
19:06 foo_bar_baz joined #moarvm
20:48 BenGoldberg joined #moarvm
21:07 donaldh joined #moarvm

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