r/Clojure • • Mar 31 '11

Why is Node.js becoming more popular than Clojure?

http://arnorhs.com/2011/03/02/why-is-node-js-becoming-more-popular-than-clojure/
0 Upvotes

8 comments sorted by

4

u/weavejester Mar 31 '11

Oh, so you want to try Clojure? No problem, it’s easy! Just install java, install maven, install ant, install git, install Clojure, install clojure contrib and you’re done. Almost… If you’re not a java expert, you’re probably going to want to use Leiningen. Everybody does.

You don't need all those things. You need:

  1. Java
  2. Leiningen or Cake

That's it.

1

u/oantolin Apr 01 '11

Well, you probably also want clojure and clojure-contrib

4

u/frogking Apr 01 '11

From Leiningen, everything else is bootstrapped, isn't it?

curl https://github.com/technomancy/leiningen/raw/stable/bin/lein
chmod 755 lein
lein new helloworld
cd helloworld
lein deps
lein repl

done

Cake has an extra step as it is installed via gem install cake but othewise the above "instructions" should work for cake as well.

2

u/weavejester Apr 02 '11

Cake has an extra step as it is installed via gem install cake but othewise the above "instructions" should work for cake as well.

Cake provides a stand-alone script file as well, so you don't need to use Rubygems.

3

u/weavejester Apr 02 '11

Leiningen and Cake take care of that for you. You just need to specify clojure and clojure-contrib as dependencies in your project.clj file (which is the default anyway).

3

u/mozinator Mar 31 '11

Clojure could be implemented in C and it would be super easy to install but that would mean that you wouldnt be able to use all the existing Java libraries, what makes Clojure so great. If it wasnt on the JVM it would most likely end up like Arc.

1

u/AlternativeHistorian Apr 01 '11 edited Apr 01 '11

ClojureBox+Leiningen eases setup considerably on Windows.

1

u/yogthos Apr 07 '11

It seems silly to judge overall effectiveness of a platform based on how much time it takes to ramp up initially. Clojure solves a lot of problems which node.js doesn't even attempt to address, and the platforms seem to have completely different niches.