Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the powerful combination of Python and Go in this 45-minute EuroPython Conference talk. Learn how to implement extension modules in Go, leveraging its performance and parallelism while maintaining Python's expressiveness. Discover the process of using CGO to make Go code available as a C library and Cython to create Python extension modules. Follow along as the speaker builds a simple wrapper for Go code, progresses to complex data sharing and Python callbacks from Go, and addresses Go's Garbage Collector when exposing Go Objects. Gain insights into the advantages and disadvantages of using Go as an extension language for Python, and explore alternative methods for integrating Go code into Python projects. While prior knowledge of extension modules and concepts like garbage collection is beneficial, no Go coding experience is required to understand this comprehensive guide to combining the strengths of both languages.