FFI for kdb+
ffiq is an extension to kdb+ for loading and calling dynamic libraries using pure
It is part of the Fusion for kdb+ interface collection.
The main purpose of the library is to build stable interfaces on top of external libraries, or to interact with the operating system from
q. No compiler toolchain or writing C/C++ code is required to use this library.
We are grateful to @abalkin for allowing us to adapt and expand on his original codebase.
Please report issues in this repository.
- Operating system: Linux, macOS 10.12+, Windows 7+
- kdb+ v3.5 or higher
- libffi 3.1+ as per instructions. RHEL/CentOS 6/7 provided libffi 3.0.5 can be used as well.
|Ubuntu Linux with 64-bit kdb+||
|Ubuntu Linux with 32-bit kdb+||
|RHEL/CentOS with 64-bit kdb+||
|RHEL/CentOS with 32-bit kdb+||
|macOS||(no action required)|
|Windows||(no action required)|
Download the appropriate release archive from releases page.
Unpack and install content of the archive
|Windows||Open the archive and copy content of the
See code.kx.com/q/interfaces/ffi for documentation.