Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-06-06

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

All times shown according to UTC.

Time Nick Message
00:13 kbenson1 joined #moarvm
00:16 colomon joined #moarvm
00:52 benabik joined #moarvm
00:57 tgt joined #moarvm
01:42 colomon joined #moarvm
01:53 colomon joined #moarvm
02:08 colomon joined #moarvm
02:23 lizmat joined #moarvm
03:44 FROGGS joined #moarvm
04:49 colomon joined #moarvm
04:59 birdwindupbird joined #moarvm
05:41 birdwindupbird joined #moarvm
05:50 tomyan joined #moarvm
07:12 flaviusb joined #moarvm
07:32 flaviusb joined #moarvm
07:44 flaviusb joined #moarvm
08:02 flaviusb joined #moarvm
08:21 flaviusb joined #moarvm
08:41 flaviusb joined #moarvm
09:00 flaviusb joined #moarvm
09:20 flaviusb joined #moarvm
09:39 flaviusb joined #moarvm
10:04 Guest1337 joined #moarvm
12:32 Ulti left #moarvm
13:18 sorear_ joined #moarvm
13:27 JimmyZ joined #moarvm
14:03 FROGGS joined #moarvm
14:21 sorear joined #moarvm
14:25 lizmat joined #moarvm
14:32 benabik joined #moarvm
14:35 dalek MoarVM: cab28e4 | benabik++ | / (5 files):
14:35 dalek MoarVM: say and print should be IO ops, not dev
14:35 dalek MoarVM:
14:35 dalek MoarVM: say_[ins] are all doomed, but left as is until after removing them
14:35 dalek MoarVM: from the tests.
14:35 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/cab28e4713
14:35 dalek MoarVM: 8652eb7 | benabik++ | nqp-cc/ (36 files):
14:35 dalek MoarVM: Remove say_* from tests
14:35 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/8652eb70fb
14:36 dalek MoarVM: ddc8699 | benabik++ | nqp-cc/src/QASTOperationsMAST.nqp:
14:36 dalek MoarVM: Tell QAST to use say instead of say_s
14:36 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/ddc86996ea
14:36 colomon joined #moarvm
14:38 benabik Logged in just in time to see my commits merged.  \o/
14:39 JimmyZ benabik++
14:54 bronco_creek joined #moarvm
14:58 FROGGS joined #moarvm
15:00 cognominal joined #moarvm
15:16 lizmat joined #moarvm
15:19 cognominal joined #moarvm
15:50 dalek MoarVM: 900d1b0 | jonathan++ | src/6model/reprs/P6opaque.c:
15:50 dalek MoarVM: Fix GC mark offset calculation.
15:50 dalek MoarVM:
15:50 dalek MoarVM: Got the wrong answer in cases where complex inlines that are not
15:50 dalek MoarVM: box targets were made. Found by arnsholt++.
15:50 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/900d1b0c62
15:50 jnthn diakopter: When you get chance, plz to review https://github.com/MoarVM/MoarVM/pull/4
15:50 jnthn (and merge if you agree with it)
15:51 dalek MoarVM: 33abf54 | jimmy++ | / (2 files):
15:51 dalek MoarVM: small refactor to latin1 strings
15:51 dalek MoarVM:
15:51 dalek MoarVM: this will improve a little performance
15:51 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/33abf54543
15:51 dalek MoarVM: 4b0f9b4 | (Matthew Wilson)++ | / (2 files):
15:51 dalek MoarVM: Merge pull request #4 from zhuomingliang/master
15:51 dalek MoarVM:
15:51 dalek MoarVM: small refactor to latin1 strings
15:51 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/4b0f9b4eab
16:30 colomon joined #moarvm
16:43 colomon joined #moarvm
17:15 japhb_ joined #moarvm
17:39 _sri joined #moarvm
18:57 FROGGS joined #moarvm
19:37 lizmat joined #moarvm
19:38 japhb_ joined #moarvm
19:40 FROGGS joined #moarvm
19:47 labster joined #moarvm
20:19 dalek MoarVM: 352135e | jonathan++ | / (7 files):
20:19 dalek MoarVM: Rename ops; no need to creat weird spellings.
20:19 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/352135ef07
20:19 dalek MoarVM: dfcce29 | jonathan++ | nqp-cc/src/QASTOperationsMAST.nqp:
20:19 dalek MoarVM: Map nqp::sethllconfig.
20:19 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/dfcce29790
20:19 dalek MoarVM: 41ec98a | jonathan++ | src/6model/reprs/MVMIter.c:
20:19 dalek MoarVM: Add missing deserialize_stable_size.
20:19 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/41ec98a1cc
20:36 rurban joined #moarvm
20:37 rurban did you consider libgc for the GC? it has nice threads support and seems to be more precise. it walks thread-locals (the red-zone), the stack, and even loaded dll space (good for ffi'd callbacks)
20:37 rurban I'm considering switching over to libgc soon
20:38 diakopter it's less precise; it's conservative
20:39 tomyan joined #moarvm
20:39 jnthn rurban: No, I decided gc is something Moar should implement itself.
20:40 diakopter rurban: re loaded dlls, I don't see a reason to pass moar-managed pointers to native libs
20:41 benabik NativeCall?
20:41 diakopter what about it?
20:41 Tene Implementing a GC would be a lot of fun...
20:41 benabik Or is NativeCall expected to use malloc?
20:41 diakopter well, you wouldn't want to pass native libs pointers to moar objects because: what would it do with them?
20:41 jnthn The CStruct REPR points off to a piece of unmanaged memory, which is what is shared with native-land
20:42 diakopter oops
20:42 diakopter well, you wouldn't want to pass moar objects pointers to native libs because: what would the native lib do with the moar pointers?
20:42 diakopter you wouldn't want it digging inside moar objects
20:43 arnsholt Yeah, the NativeCall REPRs actually have two independent storages, one managed used by Perl 6 code and one unmanaged used by C code
20:43 dalek MoarVM: 8e18302 | jonathan++ | / (4 files):
20:43 dalek MoarVM: Use portable REPR names.
20:43 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/8e18302490
20:44 bronco_creek joined #moarvm
20:44 benabik And the NativeCall REPRs free the unmanaged memory when the managed memory is collected?
20:44 arnsholt Yup
20:45 arnsholt Or, can
20:45 tadzik isn't DESTROY support something moar gc should be aware of? That was my impressin
20:45 jnthn .oO( every problem can be solved with a level of indirection )
20:45 FROGGS jnthn: that is why we are chatting here
20:45 benabik So NC programs just have to make sure they hold onto the memory longer than the native code.  :-D
20:45 arnsholt Right now we don't free() the unmanaged memory because C code might've taken a reference to it, but I'm working on functionality to alleviate that
20:45 benabik Ah.
20:46 benabik Go's response is what I just said: arrange to hold a reference longer than C code.
20:46 arnsholt Essentially a flag that lets the destructor know if it should free it or not
20:54 rurban ok, but libgc also has the nice feature to be incremental, so it can run in some thread woken up by a timer periodically, to keep the 1st generation fresh, and if takes too long stop and resume later (real-time).

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