Difference between revisions of "Foreign Function Interface"

From HaskellWiki
Jump to navigation Jump to search
(Added a link to the GHC manual)
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
Select one of the following links for more information:
 
Select one of the following links for more information:
 
* [[FFI Introduction]]
 
* [[FFI Introduction]]
  +
* GHC manual: [http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html Writing Haskell interfaces to C code: hsc2hs]
* The official description: [http://www.cse.unsw.edu.au/~chak/haskell/ffi/ The Haskell 98 Foreign Function Interface 1.0. An Addendum to the Haskell 98 Report]
+
* The official description: chapters 8 and 24 to 37 of [http://www.haskell.org/onlinereport/haskell2010/#QQ2-15-159 The Haskell 2010 Language Report] (a draft: [http://www.cse.unsw.edu.au/~chak/haskell/ffi/ The Haskell 98 Foreign Function Interface 1.0. An Addendum to the Haskell 98 Report])
 
* [[FFI cook book]]
 
* [[FFI cook book]]
 
* [[FFI complete examples]]
 
* [[FFI complete examples]]
Line 14: Line 15:
 
* [[Cxx foreign function interface]]; how to link to a C++ library
 
* [[Cxx foreign function interface]]; how to link to a C++ library
 
* Blog article: [http://blog.ezyang.com/2010/07/safety-first-ffi-and-threading/ Safety first: FFI and threading]
 
* Blog article: [http://blog.ezyang.com/2010/07/safety-first-ffi-and-threading/ Safety first: FFI and threading]
  +
* [http://rosettacode.org/wiki/Use_another_language_to_call_a_function#Haskell Use another language to call a function; Haskell]

Revision as of 07:11, 24 March 2013