Why are there so few useful programs written in Haskell?
A pretty large number of programmers have learned some Haskell (for great good or otherwise) over the past decade. I don't see very many Free software programs I can install that are useful for something beyond writing code.
xmonad, pandoc, git-annex are what come to mind and very little else. I use none of those three but they clearly do have some significant number of users who don't care what language they were written in.
Is this because I'm ignorant? Most other languages that have been around for a while I seem to use a much larger number of programs that happen to be written in those languages. Including languages I dislike a lot more than Haskell. It seems Haskell lacks programs. It's a useful data point to interpret if it is fair. So firstly is it fair (the haskell wiki suggests it's not far off) and if it is, why is it the case?
Note not libraries, programs.
20 comments
[ 0.66 ms ] story [ 44.4 ms ] threadThe languages ecosystems feeds on themselves. Example: My OS is written in C hence the best way to write my program would be to use C or some other language that can easily interoperate with C.
P.s. There is also hledger.
At least for me, this was one big reason why I didn't want to continue developing apps with Haskell, after learning the basics.
I don't think this is a fair judgememt. For example, how many apps are written in Cobol? I can't think of a single one, but Cobol code is running much of the world.
For hft isn't ability to reason about performance and control memory allocation and deallocation easier in a lower level language?
However, I'm not sure that finance hoovering up all the Haskell programmers (even if that were true) would have any impact on that. The number of Haskell programmers, in total, is small compared to the number of C++ and Java programmers in finance.
It also may be worth pointing out that finance companies, especially larger ones, are rarely homogeneous in their development environments. For example, the Haskell wiki's industry page has the names of a large number of banks that use Haskell. I have worked at a few of them and know a fair number of people at others and I don't know anyone that does any production Haskell. Plenty of Java, C++, Python, C# and Scala though.
Good luck.
http://xmonad.org/
There is so much app code and systems code that none of us will ever see, and that is absolutely by design. It is not intended to be seen, and it is the majority of code written to date. It is fire-walled and private and intended only for those who paid for it.
I am FAR from fancy, nor am I an expert in anything, so don't mistake my tone, but I have never shown any of my programmer friends and acquaintances anything that I work on every day: they are all about Rails and JavaScript, and I work on enterprise .NET apps, diving deep into SQL every day. What I do is completely hidden from them, both because they can't imagine anything outside of their precious Ruby Gems and NPM dependencies, and because I have signed NDA's that could ruin my career if I broke the rules. My point is, I've worked as a professional app dev for 2.5 years and I have never built anything that was intended for general consumption, and I know for a fact that many of us, maybe the majority of us, do the same sort of thing.
None of this is to say that there are vast, massive, infrastructure-critical Haskell code bases out there in the rarified upper echelons of coding society. But of there were, most of us would probably never know about it, at least not first-hand.
There's also PostgREST: http://postgrest.com/