Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2015-12-12

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

All times shown according to UTC.

Time Nick Message
00:04 timotimo a ... set?
00:04 timotimo but sets are unordered %)
00:05 diakopter theoretically!
00:09 konobi yay... looks like there's an answer to fixing JIT on illumos
00:09 konobi illumos/solaris even
00:31 timotimo i'll go to bed; don't have anything to show yet
01:58 cognominal m: .say for IO::Handle.^methods.>>.candidates.flat.>>.perl.sort.map: { m/ (.*?) '#`(' /; "$0... }"  }
01:58 camelia rakudo-moar 04791b: OUTPUT«method FALLBACK (RESTRICTED-CLASS $: | is raw) { ... }␤method gist (RESTRICTED-CLASS $: | is raw) { ... }␤method new (RESTRICTED-CLASS $: | is raw) { ... }␤»
01:59 cognominal héhé :)
03:41 vendethiel joined #moarvm
08:30 lizmat joined #moarvm
08:31 virtualsue joined #moarvm
08:42 lizmat joined #moarvm
08:54 lizmat joined #moarvm
09:02 vendethiel joined #moarvm
09:07 lizmat joined #moarvm
09:19 lizmat joined #moarvm
09:33 leont joined #moarvm
09:35 domidumont joined #moarvm
09:41 domidumont joined #moarvm
10:06 vendethiel- joined #moarvm
10:06 ggoebel9 joined #moarvm
10:07 colomon_ joined #moarvm
10:24 Ven joined #moarvm
10:55 leont joined #moarvm
11:15 rurban joined #moarvm
13:32 dalek joined #moarvm
14:38 lizmat joined #moarvm
14:47 Ven joined #moarvm
14:47 leont joined #moarvm
15:13 cognominal joined #moarvm
15:40 Util joined #moarvm
15:41 domidumont joined #moarvm
15:49 lizmat joined #moarvm
15:51 leont joined #moarvm
15:54 rurban joined #moarvm
16:38 JimmyZ joined #moarvm
17:22 dalek MoarVM/multidim_references: 95745ec | timotimo++ | src/ (4 files):
17:22 dalek MoarVM/multidim_references: nativeref multidim struct, repr functions, hllconfig entries
17:22 dalek MoarVM/multidim_references: review: https://github.com/MoarVM/MoarVM/commit/95745ecc02
17:22 timotimo ^- that's the first little step
17:26 jnthn Will look after shopping, now I've finished being indecisive about what to make for dinner :)
17:26 jnthn bbiab
17:34 flussenc1 joined #moarvm
17:36 ilmari_ joined #moarvm
17:39 nwc10 jnthn: indecisive - as in "what sort of curry?" ?
17:44 harrow joined #moarvm
17:47 JimmyZ joined #moarvm
18:08 dalek MoarVM/multidim_references: eef1604 | timotimo++ | src/6model/containers.c:
18:08 dalek MoarVM/multidim_references: native_ref_fetch_* learn about multidim
18:08 dalek MoarVM/multidim_references: review: https://github.com/MoarVM/MoarVM/commit/eef1604e45
18:08 dalek MoarVM/multidim_references: 37e2091 | timotimo++ | / (6 files):
18:08 dalek MoarVM/multidim_references: add multidimref_* ops to the interpreter
18:08 dalek MoarVM/multidim_references: review: https://github.com/MoarVM/MoarVM/commit/37e2091ab4
18:11 [Coke] joined #moarvm
18:15 jnthn nwc10: Ended up doing chili con carne. :) I'm missing ingredients for most of the curries I tend to do, and didn't fancy the trek to the bigger store that sells them.
18:22 timotimo jnthn: where in Array.pm do i put the AT-POS for multidimref_*? there's a ShapedArray and a TypedArray; maybe i'll have to add another role that does "only" the AT-POS that returns the reference and have that in three different versions for each register type
18:23 jnthn You don't
18:23 jnthn Array.pm is not native
18:24 jnthn It's only AT-POS in native_array.pm's shaped role that'd need it
18:25 timotimo oh!
18:25 timotimo perfect
18:25 timotimo that's probably a bit easier
18:26 timotimo especially since it already has the three roles
18:29 timotimo jnthn: did it even make sense that i made a multidim reference for Str?
18:31 timotimo hm. i'll prolly have to fudge out the multidim refs for jvm
18:31 timotimo and the usage there, too
18:40 jnthn timotimo: Yeah, I can imagine us supporting my str @arr some day
18:41 timotimo it's not quite "packed" then, though?
18:41 jnthn Yeah :)
18:41 jnthn But it's the kind of thing join maybe uses to be a bit smarter
18:42 jnthn And similar things
18:42 timotimo mhm
18:42 jnthn So I can see we may want it from a "Perl 6 in Perl 6" perspective
18:54 timotimo timo@schmetterling ~/p/rakudo (nom)> perl6 -e 'my int @foo[2;2]; @foo[1;1]++; say @foo'
18:54 timotimo [[0 0] [0 1]]
18:55 dalek MoarVM/multidim_references: b804b13 | timotimo++ | src/ (3 files):
18:55 dalek MoarVM/multidim_references: allow multidim nativerefs to be registered in hll
18:55 dalek MoarVM/multidim_references: review: https://github.com/MoarVM/MoarVM/commit/b804b1399c
18:55 timotimo i think i can merge this branch into moar now
18:57 nwc10 does it pass spectest?
18:58 timotimo should i try with or without the additional nqp and rakudo patches?
18:58 nwc10 I don't know enough about the branch to know the answer to that.
18:59 jnthn Just test the bunch together to make sure no regressions
18:59 timotimo right
18:59 jnthn I can have a look, but my chili just reached the point of nommability :)
18:59 jnthn so bbi20 or so :)
18:59 timotimo the moar branch adds alternative code paths, doesn't really change existing ones
19:00 * timotimo specs tests
19:16 timotimo https://gist.github.com/timo/48fadfb2da0ff6c840a8 - does that look regression-free to you?
19:18 nwc10 I don't recognise the failure for /spec/S32-array/adverbs.t
19:19 timotimo i do
19:21 dalek MoarVM: 95745ec | timotimo++ | src/ (4 files):
19:21 dalek MoarVM: nativeref multidim struct, repr functions, hllconfig entries
19:21 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/95745ecc02
19:21 dalek MoarVM: eef1604 | timotimo++ | src/6model/containers.c:
19:21 dalek MoarVM: native_ref_fetch_* learn about multidim
19:21 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/eef1604e45
19:21 dalek MoarVM: 37e2091 | timotimo++ | / (6 files):
19:21 dalek MoarVM: add multidimref_* ops to the interpreter
19:21 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/37e2091ab4
19:21 dalek MoarVM: b804b13 | timotimo++ | src/ (3 files):
19:21 dalek MoarVM: allow multidim nativerefs to be registered in hll
19:21 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/b804b1399c
19:40 * jnthn back
19:41 timotimo welcome back, jnthn
19:41 timotimo i went ahead and merged in moar and bumped nqp
19:41 timotimo and nqp now maps the ops, too
19:41 timotimo i have a commit ready to be pushed in rakudo
19:46 jnthn +        MVM_ASSIGN_REF(tc, &(ref->common.header), ref->body.u.multidim.obj, obj);
19:46 jnthn +        ref->body.u.multidim.indices = indices;
19:46 timotimo oh, i didn't copy-paste that line?
19:46 jnthn Second one should be MVM_ASSIGN_REF too
19:46 timotimo i swear i did! :)
19:46 timotimo i mean ... obviously not
19:46 timotimo will fix
19:48 timotimo i guess i confused myself ... i duplicated the MVMROOT and perhaps my brain thought that'd be enough for both things
19:48 dalek MoarVM: e7edb06 | timotimo++ | src/6model/reprs/NativeRef.c:
19:48 dalek MoarVM: add a missing ASSIGN_REF for multidim refs
19:48 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/e7edb06caf
19:48 timotimo jnthn++
19:50 jnthn Don't see anything else in the Moar patches
19:50 jnthn NQP one is fine too
19:51 timotimo great! i'll bump again in nqp and fixup the pending rakudo commit
19:53 timotimo whew. i finally did something actually productive again
19:54 timotimo badly needed that.
19:54 timotimo then i should also write some spec tests
19:55 jnthn :)
19:55 timotimo tonight is a celebration-like eventy thingie
19:55 jnthn timotimo++
19:55 timotimo but it's the kind where bringing your laptop and hacking will be acceptable
19:55 jnthn Sounds nice :)
19:56 timotimo yup. it takes place in the local hackerspace
19:56 timotimo hitting the road soon
20:10 xiaomiao joined #moarvm
21:50 vendethiel joined #moarvm
22:10 leont joined #moarvm
22:43 vendethiel joined #moarvm
22:44 konobi howdy all
22:45 timotimo howdy konobi
23:13 vendethiel joined #moarvm
23:21 leont joined #moarvm

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