O'Reilly logo

Functional Programming: A PragPub Anthology by Michael Swaine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compared to What?

MS:

Let’s try some direct comparisons. Say I’ve devoted some time to learning Erlang. Why should I choose Clojure over Erlang?

RH:

I’m loathe to engage in us vs. them, especially with Erlang, which I quite admire. If you truly have an application for which Erlang is best suited—for example, a low-level distributed communications app with high uptime requirements—it’s hard to beat it. Clojure is more of a general-purpose language, has better compute performance, better in-process SMP concurrency support, and a much better library and interoperability story. For distribution, you can choose from many techniques and tools, including message queues, some of which are written in...Erlang.

MS:

All right, the same question for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required