[luatex] Linking to C libraries / TL2017 / FFI

Hans Hagen pragma at wxs.nl
Wed Apr 19 13:18:35 CEST 2017

On 4/19/2017 10:55 AM, Patrick Gundlach wrote:

> I have a (probably very dumb) question regarding the new TeXlive 2017. I'd like to link C-libraries (actually written in Go, but I would start with simple cases first) to LuaTeX, without recompiling. I believe this is possible with the new LuaTeX. Is this correct? Is this supported on Mac, Linux and Windows? Is this related to ffi?

it probably is mostly a platform issue because on windows one cal 
already load libraries for years (it was recently broken for a while 
which made users who use that complain)

for ffi based loading, most of the luajit ffi manual applies


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

More information about the luatex mailing list