# Building shared libraries in Go: Part 2

DevFeed: [Building shared libraries in Go: Part 2](<https://devfeed.tech/articles/building-shared-libraries-in-go-part-2-35375.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/building-shared-libraries-in-go-part-2/>)

Author: Graham King

Published: 2015-07-24T21:12:45Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>)

Tags: [bridging](<https://devfeed.tech/tags/bridging.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [go](<https://devfeed.tech/tags/go.md>), [guide](<https://devfeed.tech/tags/guide.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [practical](<https://devfeed.tech/tags/practical.md>), [software](<https://devfeed.tech/tags/software.md>)

## AI overview

A practical tutorial on calling Go shared libraries from C++. It explains generating a header with cgo, building and invoking the library, and safely passing data across the Go and C++ boundary.

## Source excerpt

Seamlessly bridging Go and C++: A practical guide to shared libraries.