4 ms·
Are there any Haskell articles about solving actual problems?
by augustk 6y ago
Are there any Haskell articles about solving actual problems?
- arc0 6y agoYes. Haskell is used by many companies, from small startups to hundred billion dollar corporations. Fighting spam with Haskell -- https://engineering.fb.com/2015/06/26/security/fighting-spam-with-haskell/ https://engineering.fb.com/2015/06/26/security/fighting-spam... The Joy and Agony of Haskell in Production -- https://www.stephendiehl.com/posts/production.html https://www.stephendiehl.com/posts/production.html Haskell in Production: Riskbook -- https://serokell.io/blog/haskell-in-industry-riskbook https://serokell.io/blog/haskell-in-industry-riskbook Haskell at Barclays (talk, not an article) -- https://www.infoq.com/presentations/haskell-barclays/ https://www.infoq.com/presentations/haskell-barclays/
- CyberDildonics 6y agoWhenever this is asked the first response is always the facebook spam filter from five years ago, which is should help you calibrate to the reality. People who have been down the rabbit hole of getting haskell to work seem to consistently say that it is very difficult to debug not only logic but consistent speed and memory usage. It seems like the reality is that if you want something fast, C++ is there with a great ecosystem, if you want to hack something together lots of scripting languages are available and if you want a balance LuaJIT and even go might work.
- ImprobableTruth 6y agoBecause that's the most notable case of a large company using Haskell. If that's your qualifying criterion, recommending LuaJIT is just as if not even more ridiculous. Most commercial Haskell is just boring CRUD, like with virtually any other language. There are some interesting projects like Hasura (a decently fast GraphQL engine), but something like Facebook is just a million times more prestigious, so that's what will always be brought up. > that it is very difficult to debug not only logic Feel free to link any write up making an actual case for this.
- CyberDildonics 6y ago> Because that's the most notable case of a large company using Haskell I know. It is something small that did not lead to more adoption and was five years ago. > If that's your qualifying criterion, recommending LuaJIT is just as if not even more ridiculous. I wasn't really recommending anything, I haven't even tried go, I was saying what seem to be reasons haskell isn't used in pragmatic scenarios, even by people who have invested a lot of time into it Still, cloudflare relies heavily on luaJIT and Love2D is built on it, meaning all these games have it at their core https://store.steampowered.com/curator/32659238/ https://store.steampowered.com/curator/32659238/ The language is still lua and the speed is not disputed, so I don't think it is the same as haskell, since haskell still has a much bigger question of pragmatism and productivity. > Feel free to link any write up making an actual case for this. What I've seen has mostly been in depth comments here.
- Tainnor 6y agoWhy does it matter? Not everything needs to have immediate real world applications. Haskell is a good test bed for type theory and some of the things that it experiments with eventually find their way into other languages.