Functional Language Explosion

There is suddenly a lot of interest in functional languages recently.  The two advantages are

  • Writing a DSL (Domain Specific Language)
  • Writing concurrent code

The languages that seem to come up are:

  • Clojure (JVM)
  • F# (based on OCaml, Haskell, and ML) (.Net CLR)
  • Erlang (JVM)

I’m not particularly interested in DSL (despite my last post on code generators), however as CPUs contain more and more cores, we’ll need a way to safely write multithreaded code.

The Clojure project has an interesting post on its approach on simplifying multithreaded code.

Erlang handles concurrency by only having local variables and providing a way to send messages to and from other threads.

Lastly, MPI is a .Net library for distributed processing where the same program executes multiple times and each instance communicates with each other using message passing which sounds very Erlang-like.

About Clay Lenhart

I am a DBA/Technical Architect for Latitude Group and love technology.
This entry was posted in Languages and tagged , , . Bookmark the permalink.

3 Responses to Functional Language Explosion

  1. cheng wei says:

    Hi, I am afraid Erlang is not based on JVM. It uses BEAM or HiPE.

  2. cheng wei says:

    Moreover, if you are interested in finding more advantages of functional programming, maybe you can search “why functional programming matters” and “functional programming for the rest of us”.

  3. Clay Lenhart says:

    Thanks for the pointers to the papers. I plan on reading this when I have some time.

    Right you are about Erlang. I mixed some of the languages.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>