by gilmi · 9y ago · 0 comments
There are already a few backends for PureScript[1] (including python!) but most backends went stale as the language progressed, maybe they'll get more love after 1.0?
[1]: https://github.com/purescript/documentation/blob/master/ecos...
I'm not suggesting competing with Haskell, but Haskell doesn't really target industry, never has and never will.
PureScript is very industry focused. With a solid Erlang and JavaScript backend, it gives you quite a nice single language for a lot of industry use cases, and with a possible C++ backend, might even work out for more cases.
Haskell pushes the envelope of typed FP even further, and adds laziness to it all. But I think there's room for something like PureScript to bridge the gap. If the Polish is there, and the tooling, and a strong commitment to stability, I can see a bright future.
Why do you say that?
I agree with the "never has" part of the statement but a little skeptical on the "never will" cause we can't really predict that. I feel like the language itself has been picking up popularity in recent years so who knows.
There might be a way to have both sustainably, but I'm not sure why we'd want that.
I really wouldn't mind seeing Haskell continue to innovate and be a trial for innovative features, and have another slower Haskell like language which slowly and carefully brings back those features into itself once they've been proven mature enough.
Their anti-spam and messaging evaluation system, for the whole system, is written in Haskell.
There are contributors to ghc who add features or fix bugs with "industry use" in mind.
So your statement in its current form is a bit confusing to me.
Can you elaborate?