[Haskell-cafe] Hmm, what license to use?
bulat.ziganshin at gmail.com
Thu Oct 2 15:47:34 EDT 2008
Thursday, October 2, 2008, 11:25:52 PM, you wrote:
>> > You mean shared libraries without the opportunity to inline library code?
>> > This would result in a huge performance loss, I think.
>> Usually _mild_ performance loss, in exchange for major code-size
>> savings, I would think. C obviously has worked quite fine under exactly
>> this restraint (though C implementations obviously aren't built to take
>> as great advantage of inlining library code as Haskell may be).
> I think that the performance loss is much higher in the case of Haskell
> because of Lazy Evaluation, massive use of higher order functions and
> possibly more. Maybe one of the GHC developers could comment on this?
and type classes. once i've forget to addinline pragma, my program
(serializing arrays) becomes 200x slower. it was due to use of
hieararchy of several type classes. afaiu, their dictionaries are also
lazily evaluated plus we have usual overhead of haskell closures that
are ready for particular application
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe