On Mon, 2006-09-25 at 11:22 +1000, Jonathan Kelly wrote: > Hi, Hi, I'm having problems with sourceforge mailing lists, my posts aren't getting through.. heck I'm the list admin and I can't post to the list .. either that or my own ISP is losing the mail.
> I've been playing with felix and tried some performance tests, and > didn't quite get the results on the website. On what platform? The posted results are for AMD64s, I have two a 3200 with 1G and a 3800x2 with 2G, the dual core has overclocking turned off (because it screws up the clock). I'm using gcc 4.x as the compiler. > My running of the ack(3, 13) test 10 iterations: > > felix (flx --static --optimizise) > Min 10.750000 > Max 10.980000 > Tot 108.040000 > Ave 10.804000 Cygwin/x86 platform? > ocamlopt (3.09.2 under cygwin manually build with gcc 3.4.4) > Min 10.040000 > Max 10.310000 > Tot 101.140000 > Ave 10.114000 Yes, for x86 the difference for this test seems smaller. Also possibly due to gcc 3.4, which isn't as good an optimiser as gcc 4.x. > I just discovered that running acc(3,14) crashes under felix, but runs > ok in ocamlopt. There is no error output, or any output at all, actually. > > $ ./t1/ack.exe 11 > Ack(3,11): 16381 > $ ./t1/ack.exe 14 > $ echo $? > 0 > $ Try increasing your ulimit? (stack size) It isn't clear why it should crash, other than stack overflow, and in that case Ocaml should overflow too (unless it was very borderline). The actual Felix code is a tight heap free stack based recursion, so if it works for 11,12,13 and crashes for 14 it isn't a bug in the code. You can inspect the generated C code to verify this. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/felix-language
