[Haskell-cafe] Haskell -> .NET

Paulo Tanimoto tanimoto at arizona.edu
Wed Sep 16 10:28:15 EDT 2009


Hello!

On Wed, Sep 16, 2009 at 8:54 AM, Peter Verswyvelen <bugfact at gmail.com> wrote:
> 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
>

I remember reading this a while ago -- I think SPJ wrote it.  It may
be relevant for this discussion.

http://www.haskell.org/haskellwiki/GHC:FAQ#.NET.2FJVM_Availability

Take care,

Paulo


More information about the Haskell-Cafe mailing list