Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-07-12

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

All times shown according to UTC.

Time Nick Message
00:47 colomon joined #moarvm
01:11 benabik joined #moarvm
01:48 dalek MoarVM: 63e9a82 | jimmy++ | / (3 files):
01:48 dalek MoarVM: small fix and cleanup
01:48 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/63e9a82431
01:50 FROGGS_ joined #moarvm
04:32 benabik joined #moarvm
04:57 birdwindupbird joined #moarvm
06:06 ssutch joined #moarvm
06:24 FROGGS_ JimmyZ++
06:36 ssutch joined #moarvm
06:54 cognominal joined #moarvm
06:55 eternaleye joined #moarvm
07:11 eternaleye joined #moarvm
07:26 eternaleye joined #moarvm
07:28 FROGGS joined #moarvm
07:37 benabik_ joined #moarvm
07:39 ssutch joined #moarvm
07:40 patspam joined #moarvm
07:49 dalek MoarVM: e068ddd | (Tobias Leich)++ | nqp-cc/src/QASTOperationsMAST.nqp:
07:49 dalek MoarVM: added stubs for missing IO ops
07:49 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/e068ddd156
08:17 dalek joined #moarvm
08:45 PerlJam joined #moarvm
08:45 chipdude joined #moarvm
08:58 FROGGS question: a mast op's signature must be identical to the C-function, right?
08:59 FROGGS ohh, hmmm, maybe I got my answer
09:11 dalek MoarVM: 4b51dfa | (Tobias Leich)++ | nqp-cc/src/QASTOperationsMAST.nqp:
09:11 dalek MoarVM: fix mentioned MVM_open-constants
09:11 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/4b51dfade7
09:11 dalek MoarVM: ee6e7b3 | (Tobias Leich)++ | / (2 files):
09:11 dalek MoarVM: mapped nqp::setencoding
09:11 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/ee6e7b3e5e
09:13 JimmyZ FROGGS: you don't need change MVM_file_set_oshandle_encoding, or you need change interp.c too
09:14 FROGGS damnit
09:15 FROGGS I had grepped for set_oshandle_encoding and found nothing...
09:15 JimmyZ amd fileops.h ...
09:15 JimmyZ *and
09:16 FROGGS yes, sure
09:16 JimmyZ :P
09:20 dalek MoarVM: 9aa3be3 | (Tobias Leich)++ | src/ (2 files):
09:20 dalek MoarVM: rename to setencoding, JimmyZ++
09:20 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/9aa3be3817
10:16 not_gerd joined #moarvm
10:16 not_gerd o/
10:16 FROGGS hi not_gerd
10:17 not_gerd via HN: http://morepypy.blogspot.jp/2013/07/so​ftware-transactional-memory-lisp.html
10:17 not_gerd if it works out for the PyPy guys, might be interesting for MOarVM as well...
10:22 not_gerd .tell jnthn GC with STM support the PyPy guys are building: https://bitbucket.org/pypy/stmgc/s​rc/tip/c4/doc-stmgc.txt?at=default
10:22 yoleaux not_gerd: I'll pass your message to jnthn.
10:28 * jnthn is not entirely convinced by STM
10:28 jnthn Not for a language like Perl 6, anyway.
10:34 itz_ joined #moarvm
10:36 not_gerd apparently, Perl6 already supports STM http://en.wikipedia.org/wiki/Sof​tware_transactional_memory#Perl ;)
10:36 not_gerd pugs++
10:45 FROGGS jnthn: apparently there are no file io tests in the nqp testsuite, can I add tests for nqp::open, close, readall, ... ?
10:49 FROGGS yay, nqp::readallfh is working
11:01 lizmat joined #moarvm
11:03 jnthn FROGGS: sure
11:29 not_gerd left #moarvm
12:43 dalek MoarVM: a06bfe5 | (Tobias Leich)++ | / (8 files):
12:43 dalek MoarVM: added nqp::readall_fh, and changed MVM_file_slurp to do open/readall/close
12:43 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/a06bfe5603
14:53 dalek MoarVM: 4ffb81d | (Tobias Leich)++ | / (8 files):
14:53 dalek MoarVM: map nqp::printfh and make it take only two args
14:53 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/4ffb81d083
15:03 * JimmyZ thinks We can use https://github.com/antirez/linenoise for readline
15:04 * hoelzro likes linenoise
15:04 JimmyZ FROGGS: ^^
15:06 FROGGS I miss the rare "Windows Operating System" in the readme :/
15:07 JimmyZ oh, yeah, I don't know how nodejs use linenoise in windows
15:07 FROGGS ohh, autocompletion...
15:07 FROGGS pretty cool
15:08 JimmyZ :D
15:16 FROGGS I'm going to work on simpler ops, and I dont think we need readline before rakudo hits moarvm
15:18 JimmyZ yes
15:19 nwc10 how far is NQP from bootstrapping on MoarVM?
15:20 FROGGS jnthn / JimmyZ: can you tell?
15:22 JimmyZ nwc10: see http://6guts.wordpress.com/2013/05/31/moa​rvm-a-virtual-machine-for-nqp-and-rakudo/
15:23 JimmyZ "Wht's the rough timeline?" part
15:28 FROGGS would be cool to have it bootstrapped within the next weeks... jnthn how far away are we from that point?
15:30 * JimmyZ thinks it wouldn't to be far after adding all of ops maps
15:32 FROGGS[mobile] joined #moarvm
15:50 birdwindupbird joined #moarvm
15:50 FROGGS joined #moarvm
16:02 colomon joined #moarvm
16:20 dalek joined #moarvm
16:21 PerlJam joined #moarvm
16:21 Util joined #moarvm
16:22 tadzik joined #moarvm
17:00 lizmat_ joined #moarvm
17:01 chipdude_ joined #moarvm
17:39 dalek MoarVM: 6a1d4a1 | (Tobias Leich)++ | / (8 files):
17:39 dalek MoarVM: fixed mkdir to take permissions as 2nd arg
17:39 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/6a1d4a1c89
19:59 dalek MoarVM: 8aef424 | (Tobias Leich)++ | src/io/dirops.c:
19:59 dalek MoarVM: typo
19:59 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/8aef424596
19:59 dalek MoarVM: 9129002 | (Tobias Leich)++ | / (8 files):
19:59 dalek MoarVM: added tell_fh, also tweak readallfh
19:59 dalek MoarVM:
19:59 dalek MoarVM: readallfh used a mmap before, which doesnt tell about the position in the file.
19:59 dalek MoarVM: Switched to apr_file_read which does that.
19:59 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/912900292f
20:06 ChanServ joined #moarvm
20:42 dalek MoarVM: 3f2908e | (Tobias Leich)++ | / (7 files):
20:42 dalek MoarVM: mapped nqp::eof
20:42 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/3f2908e62a
21:15 FROGGS meh, parrots readline is weird/broken
21:22 timotimo yeah
21:22 timotimo it really is
21:22 * timotimo remembers ;_;
21:23 FROGGS but jvm's version is sane :o)
21:24 FROGGS I've got a test file like "line1\rline2\r\nline3\nline4", and parrots readline gives "line21" for the first readline call
21:24 timotimo ;_;
21:25 timotimo oh i remember now. i wanted to receive a line of json data over a socket
21:25 timotimo but i got only a part of it
21:26 timotimo and no way to tell if i got a full line or not
21:26 FROGGS now, since libapr has no readline... do I just call getc() a dozen of times?
21:26 timotimo i had to write my own readline based on reading small chunks
21:26 FROGGS yeah :/
21:26 FROGGS good that MoarVM is not such a code-monster, so one is able to find and fix these bugs
21:39 ssutch joined #moarvm
22:01 TimToady joined #moarvm
22:07 colomon joined #moarvm
22:28 colomon_ joined #moarvm
22:42 _ilbot joined #moarvm
22:42 Topic for #moarvm is now https://github.com/moarvm/moarvm | IRC logs at  http://irclog.perlgeek.de/moarvm/today
22:53 benabik joined #moarvm
23:07 diakopter nwc10: eh, I'm still guessing aug/sept
23:17 timotimo oh, moarvm already has sockets?
23:17 timotimo that's pretty cool
23:18 timotimo there's pretty many "ok"'s when running make nqptest
23:18 timotimo seems like the only thing missing is big integers; is there lots of fudging involved or something? ;)
23:20 diakopter timotimo: I thought japhb added bigintegers
23:21 timotimo 12 days ago some bigint progress was merged by jnthn
23:22 timotimo t/nqp/60-bigint.t ......... Failed 26/45 subtests - that's only partly missing
23:23 timotimo what's the magic incantation to create a .moarvm file from the nqp-moarvm-cc?
23:25 diakopter <- has no clue
23:25 * diakopter looks
23:28 diakopter eh, --target=mbc --output=foo.moarvm ?
23:30 timotimo thanks :)
23:30 diakopter did it work?
23:30 timotimo didn't try
23:31 timotimo trying to get perl6-bench up again
23:31 timotimo and see what i can/haev to do to make it benchmark the tests
23:32 timotimo luckily perl6-bench removes the startup/compile time from the benchmark time
23:32 timotimo otherwise i suppose the compiler startup would be a bit bad :)
23:32 diakopter which compiler?
23:33 timotimo the crosscompiler that has to start a parrot vm first ;)
23:37 benabik joined #moarvm
23:38 diakopter ;)
23:42 diakopter timotimo: when configuring moarvm, did you do --optimize?
23:42 timotimo no, i did not. i should?
23:43 timotimo perl Configure.pl --optimize=3? or how?
23:46 timotimo don't leave me hanging, diakopter! :(
23:46 diakopter just  --optimize
23:46 timotimo oh, ok
23:51 timotimo building ... building ... building ...
23:51 timotimo unfortunately the benchmark thing makes a completely clean build every time
23:51 timotimo so that takes a bit longer
23:56 timotimo i don't even see the processes show up in my process tree o_O
23:56 timotimo Internal error: invalid thread ID in GC work pass     <-  :(
23:57 timotimo i'm not sure the benchmark framework is recognizing the error as an unsuccessful run and will probably keep upping the workload infinitely now

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