Foreign function interface: Difference between revisions

From Rosetta Code
Content added Content deleted
(Changed link to point to better task)
(→‎Functions: Organize task links better)
Line 9: Line 9:


===Functions===
===Functions===
* [[Call function in shared library]]
* [[Call foreign language function]]
** [[Call function in shared library]] (a special case)
* [[Call function from foreign language]]
* [[Call function from foreign language]]



Revision as of 21:08, 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

Data structures/memory access

See also