News for hackers. Stuff that matters.
Re:Why isn't Haskell popular in industry? by codexon on Monday August 02, 2010 @01:43AM (#1566938)
I outlined some of the problems a while ago:

http://www.codexon.com/posts/why-arent-functional-languages-...

Short version: Haskell is harder than C while being slower and uses more memory. The main implementation GHC, comes with GPL concerns.

Re:Why isn't Haskell popular in industry? by dons on Monday August 02, 2010 @01:57AM (#1566968)
GPL concerns? Its BSD licensed. Haskell's library system is perhaps uniquely BSD-friendly, with over 75% of libraries BSD licensed.

And as pointed out at the time, commercial users already funded the -dynamic flag, along with the ability to swap out libgmp.

So that's FUD. As was pointed out in this forum at the time: http://news.ycombinator.com/item?id=847120

Re:Why isn't Haskell popular in industry? by codexon on Monday August 02, 2010 @02:09AM (#1566987)
The default behavior was to statically link to libgmp. I don't know about you, but making people's programs GPL by default doesn't exactly inspire confidence in the industry.
Re:Why isn't Haskell popular in industry? by dons on Monday August 02, 2010 @02:23AM (#1567016)
Whether or not libgmp was ever statically linked by default depended on your distribution. Were you shipping apps on Windows prior to the -dynamic flag's introduction? If so, then you were watching what libraries you were using, and following these instructions: http://haskell.forkio.com/gmpwindows

These days you can just run "cabal license-check" (IIRC) which will type check all the libraries you use for compliance.

Have a nice day.

Re:Why isn't Haskell popular in industry? by codexon on Monday August 02, 2010 @05:06AM (#1567211)
Dons, I know you are devoted to Haskell and will not take any criticism of it lightly. But I am not your enemy. I am willing to praise it myself when it is more suitable. Not when you try to spin it.

You and your supporters succeeded in bombarding every article that even mentions Haskell the wrong way with snide comments, and probably won over a few hobbyists. At the end of the day though, the managers making the decisions will not think "Don Stewart said so, it must be true". They will find the same conclusions that Jon Harrop, myself, and other people you have ostracized have found. And this will continue until it even if you succeed in suppressing all negative feedback on Haskell.

Have a nice day.

Re:Why isn't Haskell popular in industry? by loup-vaillant on Monday August 02, 2010 @05:31AM (#1567236)
The only thing I ever saw Don Stewart "bombing" were factual evidence. And what he destroys by truth should be annihilated anyway (P. C. Hodgell).

"Don Stewart said so, it must be true" actually isn't such a bad heuristic (as far as Haskell is concerned). From what I've seen, Don is quite cautious.

Re:Why isn't Haskell popular in industry? by codexon on Monday August 02, 2010 @06:12AM (#1567301)
The only thing I ever saw Don Stewart "bombing" were factual evidence.

This is not surprising coming from someone involved with Haskell. Do I really need to point to you the bug ticket that it was only 8 months ago that you could use something other than GMP? http://hackage.haskell.org/trac/ghc/ticket/601

Even with the option to dynamically link, it still doesn't change the fact that it was the __default__. And what a scary default that was. Company lawyers don't like to touch anything related to GPL with a 10-foot pole, for the reason that it is really up to the jury to decide what is a "derivative work" even if you only link dynamically! Maybe if you live in France, or have a 5 person company, this is an acceptable state.

Anyway I am done, you and Dons win, are you happy? I simply have no ulterior motive or incentive to defend my findings against organized groups who have their livelihoods and PhDs based on Haskell.

Re:Why isn't Haskell popular in industry? by loup-vaillant on Monday August 02, 2010 @08:31AM (#1567453)
Err, I was only objecting to your attack on Don's on-line behaviour. Actually I'm (still) an outsider. Consider "what I ever saw" as anecdotal evidence.

Now it's a pity that companies are scared of the GPL. As far as I know, most software is custom or private, is never released[1], and thus can't possibly infringe the GPL.

I think the real problem here is corporate culture. No company would object using the glibc in a proprietary program. So why would they be scared of any other LGPL library? When they don't even release the software? That's plainly irrational.

Now our choice is hard, but simple: get rid of the "GPL == we can't use it" line of thinking, or get rid of restrictive licences.

[1]: Many custom software actually belong to the company that wrote it, rather than to the company (or government) that purchased it. In this case GPL infringement could happen. But really, I can't fathom why some customers still don't demand complete ownership (including source code) for their custom software. That strikes me as either wildly misinformed or incredibly silly.

Re:Why isn't Haskell popular in industry? by codexon on Monday August 02, 2010 @06:15PM (#1569306)
Why do you object? I just proved to you the legitimacy of my arguments while you still stand by Don's complete denial?I think it is very off-putting that anything remotely negative about Haskell is usually met with snide comments questioning their intelligence or being labeled as a troll. It also doesn't help that my comment was upvoted a few times, and when Dons & Co. replies, it drops to -3. I've also observed this type of behavior on Reddit.

You aren't really an outsider considering your participation in the Haskell Cafe mailing list and being credited in Real World Haskell.

And companies do object to using glibc in a proprietary program obviously. You are probably thinking of the GCC runtime which has an explicit exception for commercial programs that prevents them from turning GPL.

http://www.gnu.org/licenses/gcc-exception.html

You also don't have any proof that most software is custom or private. Even if it is the majority, you cannot deny that the shrink-wrap industry is huge, especially during most of Haskell's existence. The answer is to avoid GPL code in the language which is what I was saying the whole time. You don't put the foundation of your business at risk just so you can use a cool new language.

Re:Why isn't Haskell popular in industry? by loup-vaillant on Wednesday August 04, 2010 @02:30PM (#1575351)
> It also doesn't help that my comment was upvoted a few times, and when Dons & Co. replies, it drops to -3.

Interestingly, I saw it happen almost everywhere. It looks like people are more likely to down-vote comments which are contradicted by a recognized authority. This is of course not a good thing.

> You aren't really an outsider considering your participation in the Haskell Cafe mailing list and being credited in Real World Haskell.

I didn't post more than a few messages, 2 years ago, and I posted about 3 minor comments in Real World Haskell. I've read a few papers, but seldom have written anything (except http://www.loup-vaillant.fr/articles/assignment of course). I'm not an outsider, but hardly what I consider to be an Insider.

> You also don't have any proof that most software is custom or private.

I don't. But in this (huge) niche, my point still stand: being afraid of the GPL is silly. Corporations that are should stop being.

> you cannot deny that the shrink-wrap industry is huge

I cannot and I won't.

> The answer is to avoid GPL code in the language […]

Yes, assuming you want the (proprietary) shrink-wrap industry to use Haskell. I want it gone. Therefore, I see the GPL as the solution.

Re:Why isn't Haskell popular in industry? by applicative on Monday August 02, 2010 @11:59PM (#1570072)
This is febrile raving, codexon, why are you insisting on it? It is like a kind of madness, right on its face. A range of solutions were given on http://haskell.forkio.com/gmpwindows of which the writer, Sigbjorn Finne, said "nothing too magic or new here". None of them seem particularly appetizing, of course, which is presumably why people continued to labor.
Re:Why isn't Haskell popular in industry? by applicative on Tuesday August 03, 2010 @12:25AM (#1570123)
I was trying to think why I found this so disturbing: "I simply have no ulterior motive or incentive against organized groups who have their livelihoods and PhDs based on Haskell." The thing is, it cannot be honest. A simple reflection, a Google search, e.g. http://www.google.com/search?num=100&hl=en&lr=&a... and some time spent reflecting on the modules linked, will show that Don S. could make a far better 'livelihood' doing just about anything other than writing Haskell. The trouble you are faced with is this, that the only way to explain all of this is that he does these things because he thinks they are right and good, and for no other reason.
Re:Why isn't Haskell popular in industry? by codexon on Tuesday August 03, 2010 @03:42PM (#1572466)
He does it because he is biased towards something he has already spent years on his PhD candidacy and many hours on writing libraries already. If he completes his PhD, it is likely that he will try to get a Haskell job. Just because he wrote a thousand Haskell packages doesn't mean he is as suitable in another language. Sure he could probably be a C programmer, but his pay grade won't be as high as if he landed a Haskell job to take advantage of his experience and degree.

That you cannot see this is because you also have the same bias as Dons.

Re:Why isn't Haskell popular in industry? by jrockway on Monday August 02, 2010 @04:39AM (#1567179)
Interestingly, I came to the exact opposite conclusion. Haskell is easier than C++ (less code and more safety), and it is equally fast.

Haskell may not be the perfect language for your generic FFT library to be distributed with your OS, but it's a great choice for building applications that would otherwise be C++ or Java. Java and C++ had no trouble catching on, despite being slower than C, and Haskell isn't even that much slower than C.

Re:Why isn't Haskell popular in industry? by vicaya on Tuesday August 03, 2010 @04:35AM (#1570524)
You know, it'd be more convincing if you can come up with reproducible benchmarks to backup your claims. According to This guy's data: http://www.codexon.com/posts/debunking-the-erlang-and-haskel... Haskell is even slower than python (which is not known for its speed) for implementing simple servers.

Haskell code that performs close (within an order of magnitude in terms of run time and space) to its C/C++ equivalent typically is also close in code length (and often less readable!) and often unsafe as well (requires explicit unboxing etc.)

Re:Why isn't Haskell popular in industry? by applicative on Tuesday August 03, 2010 @02:00PM (#1572040)
If you read a little further, you will discover that there is some discussion of his 'data'.