[Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

Andrew Appleyard andrew.appleyard at gmail.com
Sun Oct 12 04:33:01 EDT 2008

Alfonso Acosta wrote:
> Great! Are there any chances of getting support for non-Win32
> platforms with Mono?

Yep, I believe it's possible.

The interoperability layer is centered around two .NET methods:

  - Marshal.GetDelegateForFunctionPointer and
  - Marshal.GetFunctionPointerForDelegate

As long as Mono correctly implements these methods (I haven't tested 
them, but Mono appears to implement them), it shouldn't be too difficult 
to get Salsa going.  Most of the work involves extending the runtime 
hosting code to use the Mono API to load the Mono runtime and then load 
the driver assembly.  Everything after that point is relatively platform 

It'd be worth implementing this just to see how long it takes Don to get 
an Arch Linux port out for it... :-)


More information about the Haskell-Cafe mailing list