Did you know? SWI-Prolog can talk to Java,C,C++,Python,and C#Search Documentation:
Kings day in the NetherlandsSWI-Prolog C++ interfaces

SWI-Prolog comes bundled with SWI-cpp.h, which provides a quite simpleminded C++ interface. In addition, there is