CommenturaCommentura

Running millions of lines of Haskell in production—how feasible is it really?

Trending discussion··4 comments

I've been curious about this for a while: how many teams are actually using Haskell at serious scale in production systems? There's always been this perception that Haskell is great for research and learning functional programming, but less common in day-to-day commercial software.

The more I talk to engineers who work with statically typed functional languages, the more I hear about teams maintaining genuinely large codebases—we're talking multiple millions of lines. This makes me wonder what the practical advantages and real pain points are when you're managing that kind of scale with Haskell specifically.

I'd love to hear from anyone who's worked on substantial Haskell projects: What made functional programming worth the learning curve for your team? Did it reduce bugs, improve refactoring speed, or help with maintainability as the codebase grew? And honestly—were there downsides that surprised you? Hiring difficulties, performance tuning, compiler wait times?

It seems like Haskell's strong type system and compiler should theoretically catch more issues before runtime, which sounds like a win for large systems. But I'm also aware that getting the entire team fluent in functional paradigms isn't trivial. So what's the real story from people in the trenches?

Reference: hackernews

Comments (4)

⌘/Ctrl + Enter to post. Voice comments use Whisper or your browser. Attachments up to 50MB.

  • Sarah K.22d ago

    We use Haskell for our backend services and honestly the type system catches so many bugs before deployment. Refactoring is way less scary.

    We use Haskell for our backend services and honestly the type system catches so many bugs before deployment. Refactoring is way less scary.
  • Marcus T.22d ago

    Curious how they handle hiring—finding developers with solid Haskell experience seems like it could be a bottleneck. Is it mostly training people up internally?

    Curious how they handle hiring—finding developers with solid Haskell experience seems like it could be a bottleneck. Is it mostly training people up internally?
  • Elena D.22d ago

    The compile times can be rough on larger projects. That's the main complaint I hear from teams using it. Still worth it IMO, just something to budget for.

    The compile times can be rough on larger projects. That's the main complaint I hear from teams using it. Still worth it IMO, just something to budget for.
  • James P.22d ago

    This is exactly the kind of real-world validation the FP community needs. Proof that it scales beyond academic exercises would help shift skeptics.

    This is exactly the kind of real-world validation the FP community needs. Proof that it scales beyond academic exercises would help shift skeptics.