|
github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today Set by moderator on 13 July 2013. |
|||
|
01:42
FROGGS_ joined
01:56
benabik joined
02:23
patspam joined
02:39
benabik joined
04:17
ggoebel2 joined
04:46
crab2313 joined
04:48
birdwindupbird joined
|
|||
| dalek | arVM: ee06c36 | jimmy++ | src/io/fileops.c: fixed Win32 build with MSVC |
05:38 | |
|
06:48
FROGGS_ joined
|
|||
| FROGGS | JimmyZ++ | 06:52 | |
| dalek | arVM: 7cf3a8d | jimmy++ | src/io/fileops.c: small code cleanup |
07:04 | |
| FROGGS | JimmyZ: is the bigint stuff I did okay on windows? | 07:14 | |
| FROGGS feels like testing on windows too | |||
| JimmyZ | FROGGS: It builds | 07:16 | |
| I didn't run test though | |||
| the bigint test was mostly commented :P | 07:17 | ||
| benabik | Makes it easy to pass! | 07:19 | |
| benabik should comment out all problem tests. Would have saved me a few weeks work lately. | |||
| FROGGS | JimmyZ: I only have two failing bigint tests using nqp's test file | ||
| (due to nqp::box_i) | 07:20 | ||
| JimmyZ tests | 07:21 | ||
| FROGGS | JimmyZ: ahh, und you have to 'use npq-mo' instead of 'use nqpmo' | 07:23 | |
| first line in the test file | |||
| JimmyZ | FROGGS++, timely help | 07:26 | |
| JimmyZ don't know why use nqpmo worked before | 07:27 | ||
| FROGGS: I get 3 failed test: 17, 18, 20 | 07:28 | ||
| not ok 17 - Bit ops (RT 109740) , not ok 18 - can box to a complex type with a P6bigint target, not ok 20 - addition works on boxing type | |||
| FROGGS | hmmm, 17 passes here | 07:29 | |
| JimmyZ | FROGGS: 17 test, I got -1 , expect 1 | 07:35 | |
|
08:32
sorear joined
|
|||
| dalek | arVM: a300174 | jimmy++ | src/io/fileops.c: avoids some memory leak |
09:12 | |
| arVM: 29ffbdd | jimmy++ | src/io/fileops.c: avoids a potential memory leak |
09:18 | ||
| JimmyZ | FROGGS: looks like it failed because two_complement_* is not ported | 09:28 | |
| FROGGS | hmmm, then why does it work here? weird :o) | 09:29 | |
| JimmyZ | FROGGS: because of different platform and compiler? | 09:30 | |
| :P | 09:31 | ||
|
09:33
Util joined
|
|||
| FROGGS | hummm, there is no MSVC project file, is there? | 09:37 | |
| JimmyZ | you don't need it | ||
| FROGGS | yeah, I see now | ||
| JimmyZ | open 'VS2012 x64(x86) Cross Tools Command Prompt', and run perl Configure.pl there | 09:39 | |
| FROGGS | I executed vcvars32 | 09:42 | |
| ohhh wow, that is slow | 09:43 | ||
| JimmyZ | nmake doesn't support -j, FYI :( | ||
| FROGGS | I didnt use -j on my linux for moarvm yet fwiw | 09:44 | |
| but compiling it only takes 13s on my linux box, but compiling a single apr source file seems to take about three seconds | 09:45 | ||
| but to be fair: the windows is an xp 32 bit, and the linux is 64bit | 09:46 | ||
| JimmyZ uses MSVC because apr doesn't support gcc on win32 :) | 09:47 | ||
| FROGGS | another reason to get rid of apr :o) | ||
| JimmyZ | :P | 09:48 | |
| FROGGS | selfhosting++ # time nqp nqp-moar-cc.nqp -e '1' -> real\t0m1.852s | 09:50 | |
| nqp@jvm has an identical startup time, and just doing "nqp -e '1'" takes 0.08s | 09:52 | ||
| JimmyZ is waiting for selfhosting all the time :-) | |||
| FROGGS | WHY WAITING??? | ||
| sorry :P | |||
| JimmyZ | because I don't need to debug parrot :P | 09:53 | |
| after selfhosting | |||
| FROGGS | you do the selfhosting, jnthn++ does threads and I add some missing ops... done way before christmas! | 09:54 | |
| JimmyZ | selfhosting is hard to me, it needs some small fixes here and there, and some small fixes is not small actually :P | 09:56 | |
| i.e: serialization writing | 09:57 | ||
| jnthn | Serialization writing isn't so bad in so far as there's a test suite :) | 09:58 | |
| JimmyZ | jnhn: Will hash repr be typed? | ||
| jnthn | JimmyZ: Some time in the future, perhaps. | ||
| JimmyZ: Not until Rakudo development works out how to make use of having that. :) | 09:59 | ||
| JimmyZ | jnthn: there are some codes in Serialization writing, depends on typed hash, methinks | ||
| jnthn | Yeah, but nothing that leaks outside of there. We don't have to use the hash repr in C code, we can use hashes directly. | 10:00 | |
| JimmyZ | I think I can port some Serialization writing to MoarVM, except typed hash code part | 10:01 | |
| jnthn: or you will have some refactor in Serialization writing? | 10:02 | ||
| jnthn | Not sure just yet... | ||
| JimmyZ decommutes | |||
| jnthn | Probably nothing overly crazy, though. | ||
| diakopter | FROGGS: you forgot me in the before-Christmas plan | ||
| jnthn | diakopter: p5interop! :P | ||
| FROGGS | diakopter: awww | ||
| JimmyZ | diakopter: yeah | ||
| diakopter | jnthn: speaking of which, I have a hague grant app pending to tpf/karen for that | 10:03 | |
|
10:03
colomon joined
|
|||
| FROGGS | diakopter: yes, of course, P5@moarvm \\o/ | 10:03 | |
| diakopter | FROGGS: well, I wasn't thinking just that | ||
| FROGGS | dyncall too, what else? | ||
| diakopter | well, I was expecting to take on the bulk of replacing apr.. also, finishing nfg | 10:04 | |
| jnthn wouldn't mind doing the libuv bit also, fwiw. | |||
| tadzik | MOAR the things! | ||
| jnthn | NFG++ | ||
| FROGGS | ohh well, that is much todo till tehn | ||
| then* | 10:05 | ||
| jnthn | I want to get things bootstrapped on Moar before that, though. ;) | ||
| (Before I look at libuv things, that is.) | |||
| FROGGS | yeah | ||
| diakopter | jnthn: karen wants you to approve more of the p5interop design before allocating (essentially the rest of) the hague grant | 10:06 | |
| jnthn | The rest of? :) | ||
| diakopter | jnthn: so can we discuss it sometime? | ||
| jnthn: yeah; there's not much left | |||
| jnthn | diakopter: Really? Hm. :) | ||
| diakopter: Yes, sometime, but probably some Perl 5 person should weigh in too... | 10:07 | ||
| FROGGS | lizmat++ might be able to? | ||
| diakopter | well I ran the whole design by nwc10, who seemed to handwavey approve,ish, and TimToady has listened to the whole thing several times at least and given some feedback | ||
| lizmat was going to be the grant manager | 10:08 | ||
| jnthn | nwc10++ is who I was pondering suggesting :) | ||
| diakopter | but really it's quite straightforward | ||
| there are a couple of fiddly bits around types and metaobjects | |||
| but all the basic mechanics really aren't tricky | 10:09 | ||
| [after a great deal of study of p5 src code and thinking] | |||
| jnthn: anyway, can we discuss it sometime? | 10:10 | ||
| I've asked FROGGS too.. so hopefully he and tadzik can participate; sorear said he doesn't have time to help out with it | 10:11 | ||
| jnthn | diakopter: Yes, we can | ||
| diakopter | let's set a time sometime in the next week|2 | 10:12 | |
| FROGGS | diakopter: I can read it if you send me the google doc linky, but I'm not sure if I can be of any help | ||
| tadzik | I'm not sure I'll be of much use, other than being an additional pair of ears | ||
| I once pondered a thought of P5 interop while being drunk or 80% blackbery thing | |||
| it made perfect sense while being so simple in design | |||
| diakopter | FROGGS: the various iterations of the design docs are to the non-slushiness point of it being faster to implement them than to keep them up-to-date and thorough | 10:13 | |
| tadzik | I don't remember a thing | ||
| diakopter | tadzik: you're funny this week :D | ||
| tadzik | it's because of this python thing | ||
| diakopter | regex to filter a googolplex of books | ||
| jnthn: do you know of a 2-hour block we can reserve in the next week or two? I was hoping to use google hangout or skype | 10:14 | ||
| diakopter suddenly remembers to install skype on the new computer | 10:15 | ||
| jnthn | diakopter: We could do skype | ||
| Maybe towards end of this week? | |||
| afaik I'm teaching Mon-Wed next week | 10:16 | ||
| diakopter | 8 a.m. PDT is good for me any day | ||
| er, 7 | |||
| (it's 3:16 a.m. now) | |||
| -7, I think | |||
| pick a day and let me know | 10:17 | ||
| hopefully nwc10, TimToady, lizmat, & others could attend too | 10:18 | ||
| so that would almost certainly be google hangout | |||
| diakopter [OT] uses jira-rest-java-client-core-2.0.0-m19.jar to add some custom features to JIRA this week | 10:19 | ||
| FROGGS | -9 Berlin time | 10:30 | |
|
11:00
_ilbot joined
|
|||
| moderator | github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today | ||
|
11:37
colomon joined
11:56
colomon_ joined
11:57
birdwindupbird joined
12:12
colomon joined
13:06
colomon joined
|
|||
| diakopter | jnthn: ping | 15:10 | |
| .tell jnthn see www.aqute.biz/Bnd/Bnd for ease of automating jar bundling/creation (it's apache licensed). Also clsd (class dumper) from the same toolkit. | 15:14 | ||
| yoleaux | diakopter: I'll pass your message to jnthn. | ||
|
16:13
FROGGS joined
17:10
flussence joined,
diakopter joined
17:20
benabik joined
|
|||
| diakopter | jnthn: ping | 17:30 | |
| FROGGS | PARROT VM: Could not load bytecode | 17:34 | |
| Could not load oplib `nqp_ops' | |||
| >.< | |||
| diakopter | happens | 17:35 | |
| jnthn | diakopter: o/ | ||
| cooking, but it's easy so aboutish :) | |||
| diakopter | jnthn: now I forgot what I was going to ask | 17:36 | |
| ergh. | |||
| diakopter tries to remember | |||
| FROGGS | uhh, works now | 17:37 | |
| yeah, "nmake install" is a step one should not skip | |||
| seriously, I can't image developing on windows... | 17:38 | ||
| imagine* | |||
|
17:40
colomon joined
|
|||
| diakopter | FROGGS: it's AWESOME | 17:49 | |
| FROGGS | no | 17:50 | |
| jnthn | Yeah, nobody who develops in Windows can be productive. :) | ||
| FROGGS | yre you guys using bash or something similar? the usual command line just sucks | ||
| diakopter | <- no exception | ||
| FROGGS: well, there's Powershell, which has been around for many years now | |||
| FROGGS | jnthn: I was a windows dev till 2010 or so | 17:51 | |
| diakopter | has many Perl features | ||
| and list comprehension thingies | |||
| FROGGS is stuck on windows xp | |||
| diakopter | and pipes | ||
| there's a version of powershell that installs on XP I'm pretty sure | |||
| benabik | www.johndcook.com/blog/2009/11/02/p...ws-xp-etc/ (dunno if there's a 3.0 or whatever) | 17:52 | |
| FROGGS | I will try that | 17:53 | |
| benabik | Oh hey, guess there is. blogs.msdn.com/b/powershell/archive...shell.aspx | ||
| FROGGS | thanks guys | ||
| diakopter | FROGGS: actually I wouldn't recommend it | ||
| it's almost entirely useful mostly for sysadmin things | |||
| not really for data-y things | |||
| FROGGS | hmm | ||
| benabik | PowerShell is way better than cmd even just for running things. | ||
| diakopter | heh. | ||
| benabik | dunno about scripting, but I'd rather have a psh window than cmd window to type in. | 17:54 | |
| diakopter | benabik: sounds like you use it far more than I have... ;) | 17:55 | |
| benabik | diakopter: It's almost like a real shell. Kept me from having to install all of cygwin or something stupid when I was trying to test Parrot on Windows. | ||
| diakopter | sigils and all? | 17:57 | |
| benabik | Like I said, have tried exactly no scripting with it. But it has all the nice little completions and editing and such I needed to stay sane. | 17:58 | |
| FROGGS | well, it start when you want to copy the output of a script, in a bash you dont have implicit linebreaks within your string when it is longer than the window buffer | 17:59 | |
| and that you cant maximize the cmd window, you have to calculate the number of chars on your own | 18:01 | ||
| is it still like that on windows 7/8 ? | 18:02 | ||
| diakopter | you can change the cols/rows, via the gui | ||
| jnthn: oh yeah, I remembered | 18:04 | ||
| FROGGS | yeah, but you have to calculate those rows/cols on your own first, that is the odd thing | ||
| E:\\MoarVM\\nqp-cc>nqp\\nqp nqp-moar-cc.nqp -e 'say(1)' | |||
| Malformed UTF-8 string | |||
| current instr.: 'slurp' pc 657 (src\\stage2\\gen\\NQPCORE.setting.pir:302) (src\\stage2\\NQPCORE.setting:647) | |||
| :/ | |||
| has somebody else a 32bit os? | 18:05 | ||
| diakopter | FROGGS: erm cmd.exe doesn't use ' | 18:06 | |
| it uses " | |||
| FROGGS | E:\\MoarVM\\nqp-cc>nqp\\nqp nqp-moar-cc.nqp -e "say(1)" | 18:07 | |
| Malformed UTF-8 string | |||
| current instr.: 'slurp' pc 657 (src\\stage2\\gen\\NQPCORE.setting.pir:302) (src\\stage2\\NQPCORE.setting:647) | |||
| ó.ò | |||
| diakopter | you can't run nqp that way | ||
| you have to add that dir to the path | |||
| FROGGS | E:\\MoarVM\\nqp-cc>nqp\\nqp -e "say(1)" | 18:08 | |
| 1 | |||
| diakopter | oh. | ||
| FROGGS | well, I can change tha path to include nqp's dir | ||
| okay, path for comfort, but didnt help my problem | 18:10 | ||
| benabik | psh also acts as a modern terminal emulator, IIRC. Resizing windows and highlighting and everything. | ||
| FROGGS | I'd guess that the byte ops for utf8 might be broken on 32bit | ||
| that would be cool! | 18:11 | ||
| diakopter | FROGGS: I think you'd have to add the install\\bin to the path, not the root of the nqp checkout | 18:16 | |
| FROGGS | k, will test in a bit | 18:17 | |
| diakopter | FROGGS: which C compiler are you using | 18:20 | |
| jnthn: anyway, I was going to ask whether you'd seen the other stuff in the dyncall branch - the realclean target I mean | 18:22 | ||
| FROGGS | diakopter: cl | 18:24 | |
| diakopter | FROGGS: I haven't tested nqp/parrot on 32-bit cl in years | 18:25 | |
| (and I doubt anyone else has either) | |||
| FROGGS | well, I had a working rakudo from 2012.10 or so | 18:31 | |
| and nqp is working, but not the cross compiler, I'll trak it down when my kids are sleeping | 18:32 | ||
| jnthn | diakopter: not yet | 18:54 | |
| dalek | arVM/dyncall: 3a1c4cf | diakopter++ | / (3 files): make dyncall configure respect verbose flag |
19:02 | |
| FROGGS | HAHA | 19:16 | |
| I know now why nqp's slurp fails | |||
| benabik | No lips? | 19:17 | |
| FROGGS | it tries to slurp a file called temp.output, which contains the output of "del /?", with german umlauts | ||
| jnthn | No straw? | ||
| hah | |||
| FROGGS | hehe | ||
| how comes that? | |||
| there is a temp.moarvm too | 19:18 | ||
| jnthn | dunno, sounds odd | ||
| FROGGS | yeah | 19:19 | |
| jnthn: MoarVM_/nqp-cc/nqp-moar-cc.nqp:68: pir::spawnw__Is("del /? >temp.output 2>&1"); | 19:23 | ||
| diakopter | what about it | ||
| heh. | 19:24 | ||
| FROGGS | it generates a file non utf8 conform file | ||
| diakopter | need to make it find the Command Extensions string in german too :) | ||
| FROGGS: run this at the command prompt: | 19:25 | ||
| chcp 65001 | |||
| FROGGS | diakopter: gist.github.com/FROGGS/2e014a3aa692d980a4b4 | ||
| diakopter | FROGGS: translate? | 19:26 | |
| FROGGS | command ".." not found | 19:27 | |
| diakopter | I don't understand the output there | ||
| why is it saying >>temp.output | |||
| on the second line | 19:28 | ||
| FROGGS | diakopter: debug output I added | ||
| btw, the temp.output still has the german text which does not contain the word "Extensions" | |||
| diakopter | that should be easy to fix :P | 19:29 | |
| FROGGS | diakopter: what exactly should it do? | ||
| diakopter | it's just checking to see if on windows | ||
| there wasn't a better way when that was written | 19:30 | ||
| feel free to make it use the right way if there's one now | |||
| FROGGS | ohh | ||
| that is a weird way to do that | |||
| parrot should be able to answer that question, no? | |||
| diakopter | I didn't know how at the time | ||
| FROGGS | hmmm, okay, will investigate | 19:31 | |
| diakopter | FROGGS: ... but at least that way is backend-agnostic | 19:32 | |
| FROGGS | it does a pir::spawnw__Is | 19:34 | |
| diakopter | ohlol. | ||
| nm. | |||
| FROGGS | I'll try to provide something parrot-ish and JVM-ish | 19:35 | |
| diakopter | search for Extensions in the repo; it's a couple other places too | ||
| FROGGS | k | 19:38 | |
| thanks, will do | |||
| E:\\MoarVM\\nqp-cc>nqp -e "my %conf := pir::getinterp__P()[pir::const::IGLOBALS_CONFIG_HASH]; say(%conf<platform>);" | 19:43 | ||
| win32 | |||
| diakopter: do you get the same? | |||
| diakopter | FROGGS: I .... actually don't have nqp built on this windows machine yet | 19:44 | |
| FROGGS | k, np | ||
| diakopter | chipdude_: ping | 19:48 | |
| FROGGS | yay, it works | 19:50 | |
| diakopter | jnthn: are rakudo-jvm's collections threadsafe? | 20:09 | |
| jnthn: (if I had two threads competing to push/pop 10,000 times each (starting with 10,000 elements), would it always come out as size 10,000 in the end? | 20:12 | ||
| ) | |||
| FROGGS | I cant add fudge lines to nqp-mo-cc.nqp | ||
| :/ | |||
| jnthn | diakopter: no | 20:14 | |
| diakopter: Things are at a *very* early point :) | 20:15 | ||
| FROGGS | jnthn: the fudging happens when concatenating the source files? | ||
| yeah, looks like | 20:16 | ||
| diakopter would bet $500 that the speed of that test would not be detectably affected by adding a java fast lock to those reprs | |||
| ... up to the number of cores, ish | |||
| jnthn: I mean putting this inside each of the repr ops: synchronized(this) { everything else } | 20:24 | ||
| (obviously doesn't scale at all) | 20:25 | ||
|
20:26
prammer joined
|
|||
| jnthn | diakopter: aye, though I suspect it may be a bit more involved given that Perl 6 arrays are more than just a VMArray :) | 20:29 | |
| oh, that reminds me of a design question for TimToady++ that I need to write up coherently... | |||
| diakopter | hrm, I guess you'd need an explicit lock | ||
| FROGGS | gah, I just add the parrot code as it is and put the jvm version commented underneath | 20:31 | |
| dalek | arVM: 6b55554 | (Tobias Leich)++ | nqp-cc/ (2 files): query vm for osname |
21:02 | |
|
22:47
FROGGS joined,
dalek joined,
sorear joined,
ggoebel2 joined,
patspam joined,
lizmat joined,
PerlJam joined,
tadzik joined,
jlaire joined,
itz joined,
TimToady joined,
ChanServ joined,
chipdude_ joined,
eternaleye joined,
rblackwe joined,
hoelzro joined,
jnthn joined,
Tene joined,
yoleaux joined,
JimmyZ joined,
timotimo joined,
arnsholt joined,
harrow` joined,
felher joined,
BinGOs joined,
__sri joined
23:37
benabik joined
|
|||