C++ GO interop POC repo for examining calling go code from c++ Resources go wiki on cgo cgo command Running the example Manually Build the go library via: $ go build -buildmode=c-archive -o lib.a lib.go Build and run the c++ entrypoint with $ g++ -Wall main.cpp lib.a -o main && ./main Via make make example