inside the GHC code generator

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Feb 23 11:39:38 EST 2006


Hello kyra,

Thursday, February 23, 2006, 5:38:54 PM, you wrote:

k> Bulat Ziganshin wrote:
>> i think that ocaml can't generate code better than gcc and especially
>> icc (intel C/C++ compiler), but may be i'm wrong? ;)
>>   
k> didn't try factorial, but exponential fib in ocaml is *FASTER* than both
k> gcc and intel c/c++ with highest optimization levels

i prefer to see the asm code. this may be because of better high-level
optimization strategies (reusing fib values). the scheme about i say
will combine advantages of both worlds


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Glasgow-haskell-users mailing list