[Haskell-cafe] Haskell - .NET

2009-09-16 Thread Peter Verswyvelen
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

Re: [Haskell-cafe] Haskell - .NET

2009-09-16 Thread Paul Sujkov
Hi Peter, it seems that this question has been already raised before: http://www.haskell.org/pipermail/haskell-cafe/2005-January/008244.html and there are some .Net interop implementations on the net (it is a question how mature they are, however):

Re: [Haskell-cafe] Haskell - .NET

2009-09-16 Thread Peter Verswyvelen
Yes, but interop only touches the surface of what is possible. When a Haskell compiler could create IL code, it would be possible to use the generated code inside a sandbox, e.g. to be used on the web as loadable Silverlight code. Of course the same could be said about other virtual machines,

Re: [Haskell-cafe] Haskell - .NET

2009-09-16 Thread Matthew Podwysocki
There was in fact another attempt as well, Salsa: http://haskell.org/haskellwiki/Salsa This showed quite a bit of promise but unfortunately was not more than just an experiment. Matt On Wed, Sep 16, 2009 at 10:21 AM, Peter Verswyvelen bugf...@gmail.comwrote: Yes, but interop only touches the

RE: [Haskell-cafe] Haskell - .NET

2009-09-16 Thread Sittampalam, Ganesh
-cafe-boun...@haskell.org] On Behalf Of Matthew Podwysocki Sent: 16 September 2009 15:25 To: Peter Verswyvelen Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Haskell - .NET There was in fact another attempt as well, Salsa: http://haskell.org/haskellwiki/Salsa This showed quite a bit

Re: [Haskell-cafe] Haskell - .NET

2009-09-16 Thread Paulo Tanimoto
Hello! On Wed, Sep 16, 2009 at 8:54 AM, Peter Verswyvelen bugf...@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