0.45+9.2.0.3
Rhombus FFI: Foreign-Function Interface
| import: ffi open | package: rhombus-ffi-lib |
The ffi library enables direct use of foreign libraries that have a C-based API—without writing any new C code. From the Rhombus perspective, functions and data with a C-based API are foreign, hence the term foreign interface. Furthermore, since most APIs consist mostly of functions, the foreign interface is sometimes called a foreign function interface, abbreviated FFI.