Re:Haskell Problems for a New Decade
by coolplants on Friday January 24, 2020 @04:00PM
(#22142402)
IMO Iād rather just write idiomatic C++ then non-idiomatic ghc-specific Haskell code if performance is important, and it nearly always is.
[ Parent
| on HN ]
Re:Haskell Problems for a New Decade
by whateveracct on Friday January 24, 2020 @04:07PM
(#22142466)
The thing is, like 20% of your program ends up being non-idiomatic, ghc-specific Haskell. I suppose for certain applications it could end up being the whole thing, but in general I'm thinking optimized Haskell is in that ballpark tops.
And idiomatic Haskell's performance is plenty acceptable for a variety of common use-cases (so not "nearly always is")
Re:Haskell Problems for a New Decade
by coolplants on Friday January 24, 2020 @05:17PM
(#22142970)
In my experience that has not been the case. Either unacceptably slow computation or High memory usage.
Re:Haskell Problems for a New Decade
by whateveracct on Friday January 24, 2020 @07:00PM
(#22143526)
I mean, what use-case was this?
I've deployed plenty of web services & data processing jobs in Haskell and the RTS has never been a bottleneck or issue. So I'm guessing you weren't doing an IO-bound activity (where Haskell is quite good.)