Using the NAG Library with kdb+ in a pure q environment
20 Nov 2018
The new Foreign Function Interface (FFI) extension to the q programming language enables kdb+ users to easily integrate the functionality of the NAG Library with kdb+. Software developers can now experience shorter development times, writing less code and employing fewer development tools by following the procedure described in this report.
Kdb+ FFI: Access external libraries more easily from q
22 Nov 2017
Following on from the hugely popular Python library and interface embedPy and PyQ, Kx has released an FFI as part of the Fusion for kdb+ interfaces. As with embedPy and PyQ, this FFI is open-sourced under the Apache 2 license.
The kdb+ FFI is a foreign function interface library for loading and calling dynamic libraries from q code. It has been adapted and expanded upon from a library originally written by Alex Belopolsky of Enlightenment Research. With the kdb+ FFI you can now call your favorite C/C++ libraries directly from q without the overhead of having to compile shared objects and load into q using the 2: command.
Kx Technical Whitepaper: C API for kdb+
20 Jul 2017
In the latest Kx technical whitepaper by Jeremy Lucid, "C API for kdb+," it is illustrated how the C API can be used to enable a C program to interact with a kdb+ process, and thereby leverage the real-time streaming and processing strengths of kdb+. The paper includes multiple working code samples, made available for reference and reuse on GitHub, which cover a broad range of common use cases - including publishing data to, and consuming data from, kdb+ instances.
Cracking the code with code
6 Aug 2014
Some of the world's best mathematicians have been cryptologists, a few of whom played a role in geopolitics during the Second World War.