Apologies in advance for the length of this email, but I've tried to
be as clear as possible. Any help on the matter most appreciated.
Goal: I have a simple interpreter for a language that I've written,
and I wish to implement an FFI. My ideal api would be like 'ctypes'
in python. Here's an
Hello Richard,
Thursday, December 31, 2009, 12:28:01 PM, you wrote:
Problem: I don't understand how I can generate the foreign import
statements at runtime.
there are special C libraries that doest it. one of them is libffi,
another one (can't recall its name) is used by ghc itself. libffi
Problem: I don't understand how I can generate the foreign import
statements at runtime.
there are special C libraries that doest it. one of them is libffi,
another one (can't recall its name) is used by ghc itself. libffi
isn't x64-compatible, unlike second one
Thanks a lot. Though the
Hello Richard,
C/Invoke is another library whose name i forget.
Thanks a lot. Though the haskell wiki [0] claims that libffi works on x64.
i don't know, just read yesterday on Lua list:
A question for Fabio: what are the issues with Alien for 64-bit Windows?
I can answer part of that.