[Haskell-cafe] Hmm, what license to use?
dons at galois.com
Thu Oct 2 18:22:49 EDT 2008
> Hello Wolfgang,
> 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
How long ago was this, Bulat? I'd be interested to know if any
of the compilers since 6.8.x, with all its inlining improvements,
exhibited the same fragility.
If I recall correctly, your experiments were around the 6.4.x series of
More information about the Haskell-Cafe