From the hub, tagged: "ffi"

library(ffi) now available on Scryer Prolog

This post is external to PrologHub

I want to announce that library(ffi) is now available on the master branch of Scryer Prolog. The purpose of this library is be able to call native code via a C ABI. Note that FFI is just one way to communicate with the outside world in Scryer Prolog: sockets, files, pipes or the HTTP libraries are also good options depending on the task and they're safer. This library is based on libffi