[Haskell-cafe] Haskell -> .NET

Peter Verswyvelen bugfact at gmail.com
Wed Sep 16 09:54:27 EDT 2009


I heard that compiling Haskell to Java is not obvious since tail calls
are not supported.

.NET's intermediate language (IL) does support tail calls, however it
is currently slower than regular calls, and is not always supported by
all JITs.

But given that F# will soon be officially released, I hope that
eventually tail calls will work as expected, and fast

See e.g. http://blogs.msdn.com/clrcodegeneration/archive/2009/05/11/tail-call-improvements-in-net-framework-4.aspx

So, might it be worth considering a .NET backend for a Haskell compiler?

Peter Verswyvelen


More information about the Haskell-Cafe mailing list