Foreign Function Interface: Difference between revisions
(Added a link to the tabi package) |
(Added a link to fficxx and added category FFI) |
||
Line 9: | Line 9: | ||
* [[GHC/Using the FFI]] | * [[GHC/Using the FFI]] | ||
* [http://research.microsoft.com/~simonpj/papers/marktoberdorf/ Tackling the awkward squad] | * [http://research.microsoft.com/~simonpj/papers/marktoberdorf/ Tackling the awkward squad] | ||
* [https://github.com/wavewave/fficxx fficxx], a Haskell-C++ Foreign Function Interface Generator | |||
* Blog article: [http://blog.danieroux.com/2007/01/01/simple-demonstration-of-haskell-ffi/ Simple demonstration of Haskell FFI] | * Blog article: [http://blog.danieroux.com/2007/01/01/simple-demonstration-of-haskell-ffi/ Simple demonstration of Haskell FFI] | ||
* Blog article: [http://therning.org/magnus/archives/238 C and Haskell sitting in a tree…] | * Blog article: [http://therning.org/magnus/archives/238 C and Haskell sitting in a tree…] | ||
Line 17: | Line 18: | ||
* [http://rosettacode.org/wiki/Use_another_language_to_call_a_function#Haskell Use another language to call a function; Haskell] | * [http://rosettacode.org/wiki/Use_another_language_to_call_a_function#Haskell Use another language to call a function; Haskell] | ||
* [https://code.google.com/p/tabi/ TABI] a typeful tagged cross-language calling convention | * [https://code.google.com/p/tabi/ TABI] a typeful tagged cross-language calling convention | ||
[[Category:FFI]] |
Revision as of 11:48, 1 August 2013
The Foreign Function Interface (FFI) allows you to link Haskell programs to programs written in another language.
Select one of the following links for more information:
- FFI Introduction
- GHC manual: Writing Haskell interfaces to C code: hsc2hs
- The official description: chapters 8 and 24 to 37 of The Haskell 2010 Language Report (a draft: The Haskell 98 Foreign Function Interface 1.0. An Addendum to the Haskell 98 Report)
- FFI cook book
- FFI complete examples
- GHC/Using the FFI
- Tackling the awkward squad
- fficxx, a Haskell-C++ Foreign Function Interface Generator
- Blog article: Simple demonstration of Haskell FFI
- Blog article: C and Haskell sitting in a tree…
- Applications and libraries/Interfacing other languages
- Blog article: C2HS example: To save other people frustration
- Cxx foreign function interface; how to link to a C++ library
- Blog article: Safety first: FFI and threading
- Use another language to call a function; Haskell
- TABI a typeful tagged cross-language calling convention