Zig Makes CGo Cross-compilation Just Work

Go has amazing built-in support for cross-compilation, but only as long as you don’t depend on C/C++ code. In this talk I’ll explain why some projects might want to depend on C/C++, and how you can use the Zig toolchain to make cross-compilation as seamless as it is for projects written in pure Go.

Abstract

Go has amazing built-in support for cross-compilation, but only as long as you don’t depend on C/C++ code. In this talk I’ll explain why some projects might want to depend on C/C++, and how you can use the Zig toolchain to make cross-compilation as seamless as it is for projects written in pure Go.

Video

Stay connected

You can subscribe to our newsletter to stay updated on the latest news and announcements. Follow us on social media to join our community and engage with other attendees, speakers, and staff. We're on Twitter, Mastodon, Youtube and Facebook. Don't forget to use our official hashtag #GoLab2023 to share your experience and connect with other attendees on social media.

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2023 GoLab | The international conference on Go in Florence-Design & devCantiere Creativo-Made withDatoCMS