[Haskell-cafe] Safe/Unsafe calls with the GHC Foreign Function Interface

2007-05-17 Thread Rob Hoelz
More questions from Rob regarding his mysterious bindings... So I've been reading the docs for the FFI, and it's my understanding that foreign functions imported as unsafe are faster, but they've got a problem with callbacks. From what I read, I believe that I should just make a foreign function

Re: [Haskell-cafe] Safe/Unsafe calls with the GHC Foreign Function Interface

2007-05-17 Thread Stefan O'Rear
On Thu, May 17, 2007 at 10:32:11PM -0500, Rob Hoelz wrote: More questions from Rob regarding his mysterious bindings... So I've been reading the docs for the FFI, and it's my understanding that foreign functions imported as unsafe are faster, but they've got a problem with callbacks. From

Re: [Haskell-cafe] Safe/Unsafe calls with the GHC Foreign Function Interface

2007-05-17 Thread Rob Hoelz
Stefan O'Rear [EMAIL PROTECTED] wrote: On Thu, May 17, 2007 at 10:32:11PM -0500, Rob Hoelz wrote: More questions from Rob regarding his mysterious bindings... So I've been reading the docs for the FFI, and it's my understanding that foreign functions imported as unsafe are faster, but