Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



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.


> 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.) ?


The big benefit here is that clojure is concurrency safe, where python is not.


You could use Clojure with an existing web framework (say Wicket).


Or Lift, or JRuby on Rails, or Grails, or any of the other JVM compliant frameworks.


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.


I've give Conjure a try. Its a RoR clone and a one certainly worth checking out IMO.

http://github.com/macourtney/Conjure




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: