There was in fact another attempt as well, Salsa:<br><a href="http://haskell.org/haskellwiki/Salsa">http://haskell.org/haskellwiki/Salsa</a><br><br>This showed quite a bit of promise but unfortunately was not more than just an experiment.<br>
<br>Matt<br><br><div class="gmail_quote">On Wed, Sep 16, 2009 at 10:21 AM, Peter Verswyvelen <span dir="ltr"><<a href="mailto:bugfact@gmail.com">bugfact@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, but interop only touches the surface of what is possible.<br>
<br>
When a Haskell compiler could create IL code, it would be possible to<br>
use the generated code inside a sandbox, e.g. to be used on the web as<br>
loadable Silverlight code.<br>
<br>
Of course the same could be said about other virtual machines, such as<br>
Flash or Java, but I don't know about the tail call issue here.<br>
<br>
I guess for now F# would be the best option, but it would be awesome<br>
if Haskell compilers could have more backends.<br>
<br>
I realize this is a very big undertaking, and has been mentioned<br>
before, but it doesn't hurt to refresh the cache lines once in a<br>
while, so maybe some bright student picks this up and hacks together<br>
something cool during the summer :)<br>
<div><div></div><div class="h5"><br>
On Wed, Sep 16, 2009 at 4:03 PM, Paul Sujkov <<a href="mailto:psujkov@gmail.com">psujkov@gmail.com</a>> wrote:<br>
> Hi Peter,<br>
><br>
> it seems that this question has been already raised before:<br>
><br>
> <a href="http://www.haskell.org/pipermail/haskell-cafe/2005-January/008244.html" target="_blank">http://www.haskell.org/pipermail/haskell-cafe/2005-January/008244.html</a><br>
><br>
> and there are some .Net interop implementations on the net (it is a question<br>
> how mature they are, however):<br>
><br>
> <a href="http://php.cin.ufpe.br/%7Ehaskell/haskelldotnet/" target="_blank">http://php.cin.ufpe.br/~haskell/haskelldotnet/</a><br>
> <a href="http://haskell.forkio.com/dotnet/" target="_blank">http://haskell.forkio.com/dotnet/</a><br>
><br>
> 2009/9/16 Peter Verswyvelen <<a href="mailto:bugfact@gmail.com">bugfact@gmail.com</a>><br>
>><br>
>> I heard that compiling Haskell to Java is not obvious since tail calls<br>
>> are not supported.<br>
>><br>
>> .NET's intermediate language (IL) does support tail calls, however it<br>
>> is currently slower than regular calls, and is not always supported by<br>
>> all JITs.<br>
>><br>
>> But given that F# will soon be officially released, I hope that<br>
>> eventually tail calls will work as expected, and fast<br>
>><br>
>> See e.g.<br>
>> <a href="http://blogs.msdn.com/clrcodegeneration/archive/2009/05/11/tail-call-improvements-in-net-framework-4.aspx" target="_blank">http://blogs.msdn.com/clrcodegeneration/archive/2009/05/11/tail-call-improvements-in-net-framework-4.aspx</a><br>
>><br>
>> So, might it be worth considering a .NET backend for a Haskell compiler?<br>
>><br>
>> Peter Verswyvelen<br>
>> _______________________________________________<br>
>> Haskell-Cafe mailing list<br>
>> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
><br>
> --<br>
> Regards, Paul Sujkov<br>
><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>