News for hackers. Stuff that matters.
Re:Lisp as Blub by damienkatz on Monday April 14, 2008 @01:27PM (#163284)
Confirming bias? Maybe. Link bait? Definitely.

But you say it likes it's a bad thing. Do you think I don't have a valid point? Are you not debugging a memory leak in a production Lisp app?

With Lisp you can put together a site in a few hours. But how many days must later be spent debugging issues like this? Will this time spent debugging be counted against your productivity gains you attribute to Lisp?

This is exactly the sort of problem Erlang has nailed down. And it requires a whole new thinking about program structure. Is it possible you don't see the problems with Lisp because you can't imagine there is a fundamentally better way?

Re:Lisp as Blub by pg on Monday April 14, 2008 @03:26PM (#163395)
You can't possibly have a valid point, because you're starting from practically zero data. All I have is vague theories about what might be wrong, and what you know about what's going on in our software is a proper subset of what I know.

Why don't you wait till you have more data before wasting all our time with stuff like this? What's the rush?

Re:Lisp as Blub by damienkatz on Monday April 14, 2008 @03:51PM (#163435)
> Why don't you wait till you have more data before wasting all our time with stuff like this? What's the rush?

I used the opportunity of your reliability failure to make a larger point about reliable software. I admit was deliberately provocative and terse in the posting, but I have futher clarified things in the comments. I thought about writing a long, detailed, well balance article about this. But that wasn't going to happen, I don't have the time. But then I thought why not just write what I think, but not everything I think? So I did.

Sorry, I might be completely wrong about the source of your problems, I am definitely theorizing as to what you are seeing and I don't think I've implied otherwise. But I will say these are the sorts of things that crop up again and again in Java and other GC'd mutable state languages.

Good luck debugging the problem.

Re:Lisp as Blub by brlewis on Monday April 14, 2008 @04:22PM (#163464)
A lot of the buzz around Lisp web applications does relate to mutable state accomplished through continuations, but that's not a requisite to using Lisp, nor is it the only advantage to using Lisp.

I manage state via relational databases, and haven't had to deal with any memory-leak bugs. I even found it easy to prevent leaking of database connections.

Mutation is definitely optional. A lot of people even still count Lisp dialects among the functional languages.

Re:Lisp as Blub by Hexstream on Monday April 14, 2008 @04:04PM (#163443)
"I used the opportunity of your reliability failure to make a larger point about reliable software."

Your argument construction is not very reliable either. You're basing "large points about reliable software" on... on what exactly? You can't overgeneralize like that, at least not while remaining convincing.

Re:Lisp as Blub by tjr on Monday April 14, 2008 @03:37PM (#163411)
It is very possible that Erlang could have a better way than Lisp, and that Lispers can't see it until they learn Erlang. Entirely possible.

But an arbitrary bug in an arbitrary Lisp program is nothing even remotely like sufficient proof for such a statement, unless you are trying to claim that Erlang programs are inherintly bug-free, regardless of how they were implemented...?

Re:Lisp as Blub by apgwoz on Monday April 14, 2008 @02:39PM (#163350)
> Are you not debugging a memory leak in a production Lisp app?

But, you're confusing the actual application with the Lisp implementation. Arc (and Mzscheme for that matter) are not as mature as Erlang's 20 years (or whatever). If this was running on a more mature Lisp system, I don't think we'd be discussing the same thing.

Re:Lisp as Blub by simonb on Tuesday April 15, 2008 @09:43AM (#164074)
To be honest, this is not the only such case. Eve Online folks migrated part of their system from SBCL to Erlang for seemingly the same reasons [http://lambda-the-ultimate.org/node/2102].

Having said that, it is still not a language issue, since we have systems such as Termite/Gambit Scheme [http://toute.ca].

Re:Lisp as Blub by davidw on Monday April 14, 2008 @04:21PM (#163462)
You don't get to pick and choose implementations to compare. Mzscheme was probably chosen because it's a pretty well known scheme implementation and seems popular... likely because it's well done in many ways. But you have to take the bad with the good.
Re:Lisp as Blub by dpapathanasiou on Monday April 14, 2008 @06:17PM (#163547)
Maybe the problem is Arc's lack of tensile strength.
Re:Lisp as Blub by freax on Monday April 14, 2008 @03:35PM (#163404)
> But how many days must later be spent debugging issues like this? Will this time spent debugging be counted against your productivity gains you attribute to Lisp? This is exactly the sort of problem Erlang has nailed down.

http://damienkatz.net/2007/12/erlang_vm_crash.html :

"So the Erlang VM died suddenly with a failed memory allocation. This is actually quite okay [...] However, the Erlang VM didn't restart automatically. Apparently we need to configure something for that to happen, only we can't figure out how to make it work. The documentation is either wrong, confusing or the feature is buggy. This is the kind of stuff we keep hitting in Erlang. It's fantastically productive for many tasks, but using some of the built-in libraries and features can be a huge time sink. (inets and xmerl immediately spring to mind)."

Re:Lisp as Blub by damienkatz on Monday April 14, 2008 @04:52PM (#163508)
Yes, those things need to be pointed out. I don't want people to think that Erlang is a miracle productivly booster. It's not. The productivity gains are only there in certain application domains, and of course it also require good libraries to support it.

But Erlang to me isn't as much about programmer productivity as it is about reliability. But when building highly reliable systems, of course it's a big productivity boost.

I should point out we've abandoned xmerl (and xml altogether), and things have been much simpler since. We are in the process of moving off the inets http server to mochiweb. Hopefully that will also go smoothly.