2 ms·
> In fact I've literally never known a real-world Haskell program to have serious performance problems... all I can say is that it just doesn't come up in pract
by pron 11y ago
> In fact I've literally never known a real-world Haskell program to have serious performance problems... all I can say is that it just doesn't come up in practice.
Considering how few real-world Haskell programs are, and how small they tend to be, I think it's best to say that we don't yet know how serious the effect is. If anyone ever writes an ERP or an air-traffic control system in Haskell, then we'll have pertinent evidence to support or contradict the claim.
- kqr 11y agoWell, Erlang is also basically immutable at its core, and seems to do reasonably well. It's definitely not up there with C (that'd be ridiculous) but within its domain I haven't heard many performance complains either.
- pron 11y agoMost performance-sensitive Erlang programs use C for the performant bits (they use Erlang for the control plane and C for the data plane). So it's fast enough only for things that don't need to be fast.