News for hackers. Stuff that matters.
Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by Maciek416 on Monday September 21, 2009 @03:50PM (#835367)
We've tried using Clojure for even basic web application development but all of the web-ish frameworks and libraries out there (eg: Compojure) extremely early in their development.

Building a web application in Clojure right now seems to involve a large amount of re-inventing the wheel. Meanwhile, we can just switch over to Rails and have stuff working in minutes.

Does anyone have any personal anecdotal evidence that Clojure's benefits outweigh this chief drawback at this time? What are the chances that Clojure will ever be where Ruby (with Rails) is now?

Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by arohner on Monday September 21, 2009 @04:30PM (#835492)
My startup is using Clojure, for a webapp that is heavy in AI/statistics.

Yes, compojure is early, but for us it has been totally worthwhile. A lisp that has 1) a fast implementation 2) excellent support for parallelization and 3) well supported web servers has been a huge win. We have had to reinvent a few wheels, but I would much rather re-invent e.g. user logins than Clojure + the JIT, debugger & profiler support of the JVM.

Clojure is going to get better webapp support, Ruby isn't going to get better at number crunching or parallelization or get rid of its warts. So yes, we've been very happy.

Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by nearestneighbor on Monday September 21, 2009 @07:44PM (#835856)
> Clojure is going to get better webapp support, Ruby isn't going to get better at number crunching

Is Clojure good at that? Or do you use Java for actual heavy lifting?

Why not Python with its many numerical libraries (numpy, scipy, etc.) ?

Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by sunkencity on Tuesday September 22, 2009 @12:54AM (#836293)
The big benefit here is that clojure is concurrency safe, where python is not.
Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by plinkplonk on Monday September 21, 2009 @03:55PM (#835379)
You could use Clojure with an existing web framework (say Wicket).
Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by icey on Monday September 21, 2009 @03:59PM (#835395)
Or Lift, or JRuby on Rails, or Grails, or any of the other JVM compliant frameworks.
Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by sunkencity on Tuesday September 22, 2009 @03:01AM (#836460)
compojure kicks serious ass! The templating power of a lisp makes much of the things that are tedious in rails and wicket just a breeze in compojure -- it's fewer files and templating html in code.

The power of using rails comes, partly, from all the great really simple to use plugins and libraries. A lot of those libraries have C dependencies, because of that using jruby on rails is poor solution imho. I think C ruby is a viable option though.

Compojure is mature enough to take on those frameworks. In comparison with grails and groovy, clojure is simple enough to work as expected while groovy has some excentricities.

Re:Benefits of using Clojure (Lisp) in web/enterprise develo... by alrex021 on Monday September 21, 2009 @04:09PM (#835421)
I've give Conjure a try. Its a RoR clone and a one certainly worth checking out IMO.

http://github.com/macourtney/Conjure