Foreign function interface: Difference between revisions
Content added Content deleted
(→Functions: Organize task links better) |
m (→Data structures/memory access: more link organizing) |
||
Line 15: | Line 15: | ||
===Data structures/memory access=== |
===Data structures/memory access=== |
||
* [[Address Operations]] |
* [[Address Operations]] |
||
* |
* Data Representation |
||
* [[Data Representation - |
** [[Data Representation - Controlling Fields in a Structure|Controlling Fields in a Structure]] |
||
* [[Data Representation - |
** [[Data Representation - Getting the Size|Getting the Size]] |
||
** [[Data Representation - Specifying Minimum Size|Specifying Minimum Size]] |
|||
* [[Host Introspection]] |
* [[Host Introspection]] |
||
Revision as of 21:13, 17 August 2009
Foreign function interface, or FFI, is a common name for a facility in a programming language (especially a high-level one that does not usually work in terms of pointers, raw structure layout, etc.) to invoke functions and access data structures defined using another one (especially C).
The term is commonly used in Common Lisp and Haskell.
Relevant tasks
Functions
- Call foreign language function
- Call function in shared library (a special case)
- Call function from foreign language
Data structures/memory access
- Address Operations
- Data Representation
- Host Introspection