Monday, October 8, 2007

Why not just Haskell?

Haskell is without doubt one of the most advanced, most influential languages of the last ten years. It has a growing user base and a number of ingenious men are working on its evolution.

Why then, would anyone want Frege?

Well, as I explained in my previous post, Frege came into existence merely by accident. It is in no way competing against Haskell (or any other language).

However, I still see some scenarios where Frege may proove useful:
  1. A Haskell programmer may need to get some work done that is (maybe administratively) determined to run in a JVM. As attempts to make Haskell and the JVM interoperable (see, for example JHaskell or ghcJava) seem to be stuck, Frege would be ideal, as not only the syntax as well as basic libraries (the Prelude) are derived from Haskell, but also the lazy execution model is similar.
  2. A Java programmer may be interested in the functional programming paradigm. He could try out Frege without having to leave the environment he is used to. He could even write non-functional parts of the program in Java.