[Ur] haskell interface

Marc Weber marco-oweber at gmx.de
Sun Apr 17 08:27:21 EDT 2011


> situation with C-interface? Is possible to construct UrWeb-to-Haskell
> interface somehow?

Of course it is. You can call Haskell from C. However you have to
hand over data using binary protocols. Thus you have to implement
serialization / deserializatio in both: urweb and Haskell.
Thus in the end you may be faster using Haskell only..

A Ruby interface already exists. However I haven't used it in production
yet.

I'd personally like urweb to see urweb optionally compiling to Haskell
for those reasons..

My fitness is not enough to make this change myself yet.

If you don't need SEO WASH could be an option (Haskell only)

If you're interested in I'll try digging the up for you.
Probably gogoling for "Haskell from C" and using haskell wiki 
will show you what you have to do.

Marc Weber



More information about the Ur mailing list