News for hackers. Stuff that matters.
Re:A technical vision for the Haskell ecosystem by pmkary on Friday November 13, 2026 @11:19AM (#50485715)
There is this memo video of S. P. Jones that famously says "Haskell is Useless". I love Haskell, but I wished it was universal like C, C++, JavaScript, Rust, and C#. By that I mean: It could be used to create apps for desktop, mobile, and web. JavaScript can be used to do so many things like power the entire web, be on node and let anyone create cli and share the code with web, and mobile through React Native, on desktop with Electron and its alike things, it lets you do plugins for god knows how many things, it lets you write things for the GNOME Shell... C and C++ are perhaps behind everything in the world and string theory finally gets seen will see they are written in C. And they can be compiled to Web and almost everything in the world. Rust is a placeholder for the two, and C# reinvented itself when it saw Mono and now works even in the browser. Each time I see Haskell I wonder what else can I do rather than creating CLI apps, and it makes me choose something else that grants me more code reuse and interesting applications. If I could have a vision for Haskell, it was for it to be useful. Academic research and making compilers is cool, a few cli things here and there are cool too, but why can't we build music players and game engines and flutters and web pages with it? The language is way more elegant and beautiful than all the JS/C like languages out there and I really wished I could use it for the things I did...
Re:A technical vision for the Haskell ecosystem by gavmor on Friday November 13, 2026 @11:29AM (#50485875)
So what's missing? GUI libraries?
Re:A technical vision for the Haskell ecosystem by epgui on Friday November 13, 2026 @11:45AM (#50486108)
Nothing is really missing, Haskell can do all of that.
Re:A technical vision for the Haskell ecosystem by gavmor on Friday November 13, 2026 @12:03PM (#50486383)
I thought so. What's the reason for the PR problem, then?
Re:A technical vision for the Haskell ecosystem by nightski on Friday November 13, 2026 @12:48PM (#50487065)
In my opinion Haskell is just a much higher barrier to entry language. It's far harder to get into unless you are an experienced dev. This precludes adoption. We all know languages which make it simple to write (even if it ends up being a mess) win - aka javascript/python. The AI aspect is interesting, it's encouraging rust adoption since it lowers the barrier to entry. I suspect AI doesn't handle Haskell as well because it is so generic/abstract.

One other wrinkle is laziness by default. There are good reasons the language was done that way and strict isn't inherently better. In fact you'd give up a lot moving to a strict by default / laziness optional language. That said, laziness can make it hard to reason about performance. Experienced Haskell devs can do this but it still requires a lot of mental effort.

I suspect these two items are the primary ones. There are others. But I absolutely love the language even if I have never had the opportunity to use it professionally.

Re:A technical vision for the Haskell ecosystem by raddan on Friday November 13, 2026 @01:46PM (#50487936)
I can only speak from my own experience, but expressing a program as a composition of pure functions, where effects are carefully managed, is a challenging way of thinking at first. The imperative approach really is simpler to wrap one's head around _until you start worrying about correctness_. I think many developers never really care that deeply, so Haskell never appeals to them. You really do have to take a mathematical approach to program construction. I personally think that the mathematical perspective is liberating, but it's not an easy one to cultivate.
Re:A technical vision for the Haskell ecosystem by the__alchemist on Friday November 13, 2026 @11:33AM (#50485929)
It sounds like it needs foundational libraries? Or is it something else. For example, almost everything I write requires one or more of:

  - Embedded toolchain and/or HAL/register map for my MCU family or CPU arhitecture
  - A GUI library and/or basic I/O interaction library (keyboard/mouse to start)
  - A GPU interaction library
  - A web framework (Not going to roll my own DB interface, auth, user system, router, template system etc)

(Etc). I.e., some core library which handles the drudgery I can build my application on. If this is what you're getting at, this suggests a plan of attack!
Re:A technical vision for the Haskell ecosystem by chriswarbo on Friday November 13, 2026 @12:26PM (#50486707)
Pretty sure those all exist; e.g. at work we use Yesod and Servant, which are a couple of Haskell web frameworks.
Re:A technical vision for the Haskell ecosystem by jose_zap on Friday November 13, 2026 @02:31PM (#50488545)
Embedded toolchain and/or HAL/register map:

- Copilot (by NASA)

- MicroHs — for running Haskell on an MCU

GUI library and/or basic keyboard/mouse I/O:

- Monomer

- sdl2

- gi-gtk4

GPU interaction library

- OpenGL bindings

- vulkan bindnigs

- Accelerate — numerical GPU computation with an NVIDIA backend.

Web framework with database access, auth, users, routing, and templates:

- IHP

- Yesod

Re:A technical vision for the Haskell ecosystem by pbrowne011 on Friday November 13, 2026 @11:37AM (#50486001)
> There is this memo video of S. P. Jones that famously says "Haskell is Useless".

I think that is an unfair characterization of the video, based on the rest of your comment. Simon Peyton Jones makes a graph with two dimensions, useful/useless and safe/unsafe. The question he gets at is: how can one distinguish between effectful and effect-free computations in a programming language? He proceeds to characterize most useful languages as unsafe, and Haskell as useless but safe. He then spends the majority of the video talking about how useful languages are becoming safer, and at the same time how Haskell must become useful.

https://youtu.be/iSmkqocn0oQ

Re:A technical vision for the Haskell ecosystem by raddan on Friday November 13, 2026 @01:40PM (#50487868)
I've loved this video for years, primarily because of SPJ's willingness (and excitement, even) to talk about Haskell's shortcomings. I think SPJ and other important people in the Haskell community are keenly aware that Haskell appeals to a specific demographic and that, to survive as more than just a research plaything, that they need to broaden participation.

The famously friendly "Learn You a Haskell" book features its first "helloworld" program deep into the middle of the book, _after_ functors and (if I recall correctly) monads. It takes a very special beginner programmer to push that far through, working in the REPL, before they can write programs that do basic I/O.

I teach functional programming to college sophomores and juniors, and I would love to teach them Haskell. But I have to meet them where they are, and it would be difficult to do in Haskell. This is why we have taught either F#, Scala, or LISP over the years. F# in particular has a lot of the aesthetic qualities of Haskell while allowing impurity or mutability escape hatches without too much trouble. If somebody has truly beginner-friendly Haskell resources, I would love to hear about it-- I'm apparently not smart enough to chart that path myself.

Re:A technical vision for the Haskell ecosystem by rramadass on Friday November 13, 2026 @02:30PM (#50488531)
Great video! Thanks for the link.

It is important to clearly understand that Simon uses the word "useless" in the sense of having no side-effects on the external world i.e. if state changes are not reflected in the external world at some point then there is no practical purpose to it and hence "useless".

Functional languages solved this by using the type system at different levels to combine both effectful and effect-free computations cleanly.

Re:A technical vision for the Haskell ecosystem by epgui on Friday November 13, 2026 @11:45AM (#50486104)
> It could be used to create apps for desktop, mobile, and web

Haskell can 100% be used to create all of these kinds of apps.

Re:A technical vision for the Haskell ecosystem by flossly on Friday November 13, 2026 @04:18PM (#50489837)
But expect to be in pain when not web.
Re:A technical vision for the Haskell ecosystem by txdv on Friday November 13, 2026 @12:50PM (#50487105)
whats holding you back? buy claude pro and make it reality, hell im gonna give it try because your comment offends me
Re:A technical vision for the Haskell ecosystem by petra on Friday November 13, 2026 @01:06PM (#50487346)
It's really hard to be the best at every platform, and at every problem area. Especially at the start. But once you have dominance in some niche, that may give you the power/possibility to dominate other niches.

I think this article tries to figure out where can Haskell be the best.

As for a platform? If Haskell can offer the most secure, correct, and trusted web apps(the biggest platform), created with the help of LLM's, and they can use LLM's to make reading Haskell intuitive, that's a good place.

Re:A technical vision for the Haskell ecosystem by ddellacosta on Friday November 13, 2026 @01:27PM (#50487663)
> If I could have a vision for Haskell, it was for it to be useful.

...

> Haskell surely needs good DX, but it also needs really better reasons for existing.

Man am I tired of people dropping negative crap like this any time Haskell comes up, especially when they end up at the top of the comments. It ends up derailing most conversations about Haskell that aren't on explicitly Haskell-focused forums, and turns every post on Haskell elsewhere into a referendum on the language itself. FFS the post itself is explicitly about polishing up the technical infrastructure _to achieve what you're complaining Haskell doesn't have_ and all you can do is shit on Haskell in response: "We want to improve the developer experience!" You: "No one wants to use Haskell because the developer experience is so shit!"

Put your money where your mouth is and do the polishing you're complaining about if you actually give a shit about Haskell. Fucking make something! Nothing is stopping you. Haskell is useful right now. I have personally been building a home automation system for it that uses Lua, MQTT, STM, and more that I have been running nonstop in my home for literally years now and it's absolutely awesome to work on and it's rock solid--partially because Haskell does an amazing job of helping me avoid bugs and provides a wonderful refactoring experience, which is a huge part of its reason for existing thank you very much.

All comments like yours do is dissuade others from taking a look at the Haskell ecosystem by implying it's a pointless language; it steers people away, as the main takeaway is that you can't actually build stuff in Haskell and so why would you want to use a language that you can only build CLI apps in? (Absolute bullshit btw.) As someone that cares about Haskell and spends my time actually building stuff with it, I just read posts like this and shake my head. You absolutely can use Haskell to make things, and insofar as Haskell doesn't get used (distinct from being useless) and has a ton of sharp unpolished edges remaining, it's the fault of posts like yours as much as anything. Either get involved or give it a rest and go use the other languages you seem to prefer. You aren't treading new ground with this comment.

Sorry to swear so much but that really pissed me off

Re:A technical vision for the Haskell ecosystem by Y_Y on Friday November 13, 2026 @02:58PM (#50488833)
> Functional programming should not be viewed as a tuxedo that we dust off and use when we want to be "fancy programmers." It's simply a tool in the toolbox.

https://news.ycombinator.com/item?id=15486063