[Haskell-cafe] Marshalling

Phyx lonetiger at gmail.com
Tue Jul 13 10:49:53 EDT 2010


Marshalling large amount of data from and to C

http://phyx.pastebin.com/WXGBr1bX shows the code I use to do this (it's
autogenerated, so just looking at 1 block should be enough)

The tool is mine, so i can change the code it generates, but i would need to
know how to do it better first.

On Tue, Jul 13, 2010 at 3:30 PM, Magnus Therning <magnus at therning.org>wrote:

>  On Tue, Jul 13, 2010 at 13:29, Phyx <lonetiger at gmail.com> wrote:
> > Hello
> >
> > I'm wondering if anyone ever benchmarked marshalling in Haskell/GHC. No
> > matter how much I optimize my Haskell code my program still seems to run
> > slow, which leads me to beleive that Marshalling is painfully slow.
> >
> > Does anyone know a way I can test this and fix it?
>
> What kind of marshalling are you referring to?
>
> /M
>
> --
> Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
> magnus@therning.org          Jabber: magnus@therning.org
> http://therning.org/magnus         identi.ca|twitter: magthe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100713/1ab1d4c2/attachment.html


More information about the Haskell-Cafe mailing list