github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today
Set by moderator on 16 October 2013.
[Coke] nqp-m: say(nqp::rand_i(13414)); 00:44
camelia nqp-moarvm: OUTPUT«7502744162270190791␤»
[Coke] ^^ shouldn't that random number be constrained by the input?
diakopter heh 00:45
[Coke] only found because I was trying to document this rand op that moar has that no one else does. :P 00:46
diakopter [Coke]: actually I thought we got rid of it already 01:00
but I guess not 01:01
[Coke] if you remove it, I don't have to doc it! 01:04
diakopter well, ISTR my opinion (and gerd's) being that rand_i in some form should be in all of them for efficiency purposes 01:06
but a real use case hasn't yet appeared 01:07
01:57 colomon joined 06:37 FROGGS joined 07:43 woolfy left 09:32 cognominal joined 09:58 nwc10 joined 10:01 woosley left 12:08 cognominal joined 12:09 cognominal joined 12:14 grondilu joined 12:27 ggoebel7 joined 12:47 colomon joined 13:00 colomon joined 13:30 jnap joined 13:58 sorear joined 14:52 colomon joined 15:14 benabik joined
timotimo how easy will it be to embed a moarvm inside another program? are there lots of things that have to be done before that's a sensible possibility? 16:46
diakopter not really much at all 16:48
remains
to be done
timotimo cool. and with nativecall support i suppose it'll be easy to make callbacks into your program easy to do? 16:50
17:12 FROGGS joined
diakopter timotimo: well, depends on if you want those callbacks to be able to call back into bytecode as well 17:29
timotimo ah yes 17:32
17:50 ssutch joined 18:05 FROGGS joined 18:06 jnap joined
diakopter .ask not_gerd hi 18:20
yoleaux diakopter: I'll pass your message to not_gerd.
dalek arVM/doughera: 49b57df | doughera++ | 3rdparty/libtommath/bn_mp_ (8 files):
Rename a label from a plain 'ERR' to LBL_ERR.

The Solaris preprocessor has already #defined ERR.
18:44
18:45 dalek joined
dalek arVM/doughera: d47dec1 | doughera++ | src/platform/threads.h:
Use sched_yield() on Solaris systems.

According to the Linux manpage for sched_yield(), it should also be used whenever _POSIX_PRIORITY_SCHEDULING is defined.
18:48
FROGGS .tell jnthn can you please review these changes? github.com/MoarVM/MoarVM/compare/d...a?expand=1 19:22
yoleaux FROGGS: I'll pass your message to jnthn.
FROGGS .tell jnthn I think all are okay except github.com/MoarVM/MoarVM/commit/22...8ea547e6ac 19:23
yoleaux FROGGS: I'll pass your message to jnthn.
dalek arVM/doughera: 05f13b9 | jonathan++ | src/io/dirops.c:
Fix Win32 build.
19:59
arVM: 49b57df | doughera++ | 3rdparty/libtommath/bn_mp_ (8 files):
Rename a label from a plain 'ERR' to LBL_ERR.

The Solaris preprocessor has already #defined ERR.
20:02
20:03 dalek joined 20:46 benabik joined 20:53 ssutch joined 20:58 ssutch joined 21:56 colomon joined 22:19 woolfy joined 22:22 lizmat joined 22:28 BenGoldberg joined, FROGGS joined 22:46 ssutch joined 22:47 colomon joined 23:08 lizmat joined 23:20 woolfy joined