All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Foreign function interface, application binary interface?

Also known as: foreign function interface · application binary interface

Definition 9.2 Research, Data and Risk Platforms · Chapter 9 — Native Extensions

A foreign function interface lets code in one language call functions compiled from another. It relies on an application binary interface: the machine-level convention (how arguments are passed in registers and on the stack, the layout of structures, the names of symbols) that the caller and the callee compiled separately both obey; the C convention is the one every language can speak.

Read in context →