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

Unix tools are composable. Functional languages (e.g. Clojure) are all about composability. While bash might be a reasonable glue language, I wonder why Clojure wouldn't be — and it could probably be as compact, if not terser.

The problem of the Hadoop approach is that the overhead of parallelization over multiple hosts is serious, and the task fits one machine neatly. A few GBs of data can and should be processed on one node; Hadoop is for terabytes.



> [...] I wonder why Clojure wouldn't be — and it could probably be as compact, if not terser.

Because Clojure is a goo language, that question depends mostly on the libraries available for Clojure.

(Whereas some other languages are worse at gluing, so libraries will only help you so far.)


That's if you want to do everything in Clojure, but if Clojure were to be used as a glue language, it seems to me it has a clear syntax to do it :

http://clojuredocs.org/clojure.java.shell/sh

Someone even went further to make it more useful:

https://github.com/Raynes/conch


I'd never heard of conch, thanks loads for the reference; really useful.




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

Search: