Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2016-02-04

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

All times shown according to UTC.

Time Nick Message
00:16 vendethiel joined #moarvm
00:43 geekosaur joined #moarvm
02:18 vendethiel joined #moarvm
03:03 vendethiel joined #moarvm
04:19 arnsholt joined #moarvm
04:19 lnx joined #moarvm
04:19 jnthn joined #moarvm
04:19 japhb joined #moarvm
04:20 Util joined #moarvm
04:21 sivoais joined #moarvm
04:31 sivoais joined #moarvm
04:41 sivoais joined #moarvm
04:52 sivoais joined #moarvm
05:02 sivoais joined #moarvm
05:31 sivoais joined #moarvm
05:41 sivoais joined #moarvm
05:51 zakharyas joined #moarvm
06:23 sivoais joined #moarvm
06:33 sivoais joined #moarvm
06:51 sivoais joined #moarvm
07:01 sivoais joined #moarvm
07:05 domidumont joined #moarvm
07:09 domidumont joined #moarvm
07:11 sivoais joined #moarvm
07:21 sivoais joined #moarvm
07:31 sivoais joined #moarvm
07:41 sivoais joined #moarvm
07:51 sivoais joined #moarvm
08:01 sivoais joined #moarvm
08:11 sivoais joined #moarvm
08:21 sivoais joined #moarvm
08:32 sivoais joined #moarvm
08:41 brrt joined #moarvm
08:41 brrt \o
08:41 timotimo o/
08:44 sivoais joined #moarvm
08:49 brrt ohai timotimo
08:56 sivoais joined #moarvm
09:00 nebuchadnezzar joined #moarvm
09:09 sivoais joined #moarvm
09:22 sivoais joined #moarvm
09:34 sivoais joined #moarvm
09:46 sivoais joined #moarvm
09:50 kjs_ joined #moarvm
09:58 sivoais joined #moarvm
10:10 sivoais joined #moarvm
10:22 sivoais joined #moarvm
10:22 donaldh joined #moarvm
10:34 sivoais joined #moarvm
10:46 brrt interestingly, the expr jit IR is an SSA form
10:47 sivoais joined #moarvm
10:47 brrt because each value's name is identical to the node which computes it
10:49 jnthn :)
10:49 brrt and, IF nodes are the only 'PHI's we know
10:51 vendethiel joined #moarvm
10:52 timotimo .o( interactive fiction nodes )
10:54 timotimo jnthn, how do you feel about adding an entry to the REPROps for a function that'd count up bytes of "extra storage" that an object owns?
10:56 timotimo thoughts about a heap explorer have been going through my mind
10:56 jnthn Like, if it malloc's something? Sounds reasonable, provided it's not transitive.
10:56 jnthn (That is, it's self size, not including other GC-ables)
10:59 sivoais joined #moarvm
11:03 timotimo aye, only on self
11:03 timotimo i was thinking it'd report data a bit "richly"
11:04 timotimo because for arrays it'd definitely be interesting to see slots used + slots allocated
11:11 sivoais joined #moarvm
11:25 sivoais joined #moarvm
11:37 sivoais joined #moarvm
11:51 sivoais joined #moarvm
11:52 vendethiel joined #moarvm
11:56 donaldh joined #moarvm
12:03 sivoais joined #moarvm
12:15 sivoais joined #moarvm
12:27 sivoais joined #moarvm
12:38 vendethiel joined #moarvm
12:39 sivoais joined #moarvm
12:49 brrt` joined #moarvm
12:52 sivoais joined #moarvm
13:06 pyrimidi_ joined #moarvm
13:06 sivoais joined #moarvm
13:18 sivoais joined #moarvm
13:31 sivoais joined #moarvm
13:43 sivoais joined #moarvm
13:48 kjs_ joined #moarvm
13:52 zakharyas joined #moarvm
13:55 sivoais joined #moarvm
14:04 FROGGS joined #moarvm
14:09 sivoais joined #moarvm
14:19 sivoais joined #moarvm
14:20 vendethiel joined #moarvm
15:23 vendethiel joined #moarvm
15:27 kjs_ joined #moarvm
15:56 vendethiel joined #moarvm
16:37 FROGGS joined #moarvm
17:03 vendethiel joined #moarvm
17:31 domidumont joined #moarvm
17:33 kjs_ joined #moarvm
17:36 cognominal joined #moarvm
17:57 vendethiel joined #moarvm
18:20 vendethiel joined #moarvm
20:01 sivoais joined #moarvm
20:11 sivoais joined #moarvm
20:21 sivoais joined #moarvm
20:32 sivoais joined #moarvm
20:36 jnthn Well, d'oh. Seems that whatever valgrind flags I used yesterday hid a lot of things. :)
20:37 jnthn oh, duh
20:37 jnthn I missed --full-cleanup to moar :)
20:37 jnthn Phew. :)
20:39 diakopte1 joined #moarvm
20:42 sivoais joined #moarvm
20:42 kjs_ joined #moarvm
20:49 pyrimidine joined #moarvm
20:49 7F1AA9FQP joined #moarvm
20:53 sivoais joined #moarvm
21:04 timotimo phew
21:28 timotimo so with libmicrohttpd i should be able to build something that serves data from the moar process to a browser, including the web app itself
21:28 timotimo does that sound sane?
21:30 [Coke] rather than do a static html file? assumes we can keep moar running when done, yes?
21:30 [Coke] would be nice to not have to generate/serve the JS we're not using; I'd make it so you only load what you need to show the user, should make it more responsive.
21:32 dalek MoarVM: 7a1ff97 | jnthn++ | src/ (3 files):
21:32 dalek MoarVM: First steps in cleaning up NFG state.
21:32 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/7a1ff977a4
21:32 dalek MoarVM: 541ce86 | jnthn++ | src/jit/compile.c:
21:32 dalek MoarVM: Missing JIT memory cleanup.
21:32 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/541ce86b84
21:35 timotimo [Coke]: it'd be fine to have a static html file for the UI, but the UI really, really wants to be interactive
21:35 timotimo rather than analyzing the whole heap and turning it into a gigantic json file
21:36 [Coke] timotimo: if the static html file is issuing ajax requests, then it's not static. ?
21:36 timotimo since we're already at like 60 megabytes up to 100 megabytes for the simplest files, it seems extremely unlikely that a static json file would be enough
21:36 timotimo well ... the html that we serve is static, it just doesn't behave static in the browser :D
21:37 [Coke] ... fair
21:37 [Coke] anyway, sounds reasonable to me.
21:37 timotimo and yes, moar should continue running. i expect that the moar process would be "stopped" during every GC run when the heap has settled and then it'd allow introspection via the app and when the user hits the "continue" button it'd continue
21:38 timotimo if i do go with the fork approach, it could even take heap snapshots every time a gc run happens. or, i suppose, at any time whatsoever
21:38 timotimo without forcing moar to stop completely
21:38 timotimo (thanks to copy-on-write semantics via fork/clone)
21:40 dalek MoarVM: 3e127b1 | jnthn++ | src/moar.c:
21:40 dalek MoarVM: Clean up integer constant mutex/cache.
21:40 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/3e127b177a
21:40 dalek MoarVM: fde6f2a | jnthn++ | src/moar.c:
21:40 dalek MoarVM: Clean up int to string cache.
21:40 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/fde6f2a987
21:50 timotimo ugh. pulling in libmicrohttpd requires build system stuff >_>
21:54 dalek joined #moarvm
21:55 dalek MoarVM: f9a9b96 | jnthn++ | src/6model/reprs/SCRef.c:
21:55 dalek MoarVM: Free SC dependencies array.
21:55 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/f9a9b96357
21:55 dalek MoarVM: c41ec69 | jnthn++ | src/moar.c:
21:55 dalek MoarVM: Clean up list of all SCs.
21:55 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/c41ec6932c
22:06 dalek MoarVM: dc856b6 | jnthn++ | src/6model/reprs/MVMCompUnit.c:
22:06 dalek MoarVM: Free compunit SC handle indexes array.
22:06 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/dc856b65d7
22:06 dalek MoarVM: 9ae6dd4 | jnthn++ | src/ (4 files):
22:06 dalek MoarVM: Clean up decode stream separators on handles.
22:06 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/9ae6dd49d1
22:11 dalek MoarVM: 172b501 | jnthn++ | src/core/interp.c:
22:11 dalek MoarVM: Don't leak a replaced boolification spec.
22:11 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/172b5014f0
22:12 jnthn Down to 1,069 bytes not cleaned up, of which 128 seem to be thanks to libuv
22:13 timotimo that's very good already
22:13 timotimo so we're responsible for less than 1kb
22:20 dalek MoarVM: 4671fae | jnthn++ | src/mast/compiler.c:
22:20 dalek MoarVM: Fully clean up callsite re-use hash.
22:20 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/4671fae668
22:20 jnthn Yeah
22:20 jnthn Though that's only on ./nqp -e "say(1)"
22:20 timotimo OK, fair enough
22:20 jnthn (with --full-cleanup on)
22:20 timotimo rakudo will perhaps have something for extops, for example
22:21 jnthn Other than the libuv thing, there's basically only one source of leaks left
22:21 jnthn It's about standard handles
22:21 timotimo \o/
22:21 jnthn But we get into some trouble with cleaning those up
22:22 jnthn Will be able to fix it, but...not tonight :)
22:23 jnthn I plan to work my way through the NQP test suite hunting issues
22:23 jnthn 01-literals.t already shows up one extra
22:25 timotimo pff, who needs to clean up literals
22:26 jnthn :)
22:26 jnthn Anyway, enough for tonight :)
22:26 jnthn o/
22:26 timotimo gnite jnthn!
22:29 timotimo actually ... why not build the heap explorer on top of electron! :P
22:29 lizmat gnight jnthn
23:09 vendethiel joined #moarvm

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