The Startup
Published in

The Startup

Build and Use Go Packages as C Libraries

CGO is an official builtin feature of Go, it enables the creation of Go packages that reference to C libraries. But it isn’t just that, it is achievable in the opposite direction, too. It enables creation of C libraries from Go packages so that C code can reference to Go, which is mind-blowing.

How to

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Ten weeks in the life of a Wallscope Intern

Design Patterns: Different approaches to use Factory pattern to choose objects dynamically at run…

Galaxy Shooter 2D — Power Up Triple Shot Animation

Crodo Ambassador Program. How to participate

ScholarLMS — The Complete Review

How I Build clone of (m-commerce) Grofer Application.

Programming Language Evolution

Why we chose Singlestore as our analytics database

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Minh-Phuc Tran

Minh-Phuc Tran

Software Engineer. Documenting my journey at 𝐩𝐡𝐮𝐜𝐭𝐦𝟗𝟕.𝐜𝐨𝐦

More from Medium

What is go.mod?

Go: then interfaces is not very equal

A good summary of Go lang basic syntax

TicTacGo — An Intro to Golang