CGO article collation

Source: Internet
Author: User

Although CGO belonging to the less commonly used technology, but occasionally in some scenarios will still be used, this article collects some CGO articles, convenient for everyone to learn and reference.

Official articles

    • CMD/CGO:CGO command-line tools
    • WIKI/CGO: Introduction
    • C? Go? Cgo!: An ancient article
    • Windowsdlls: Not CGO
    • Calling C code via CGO: Introduction to the Bible in the Go language

Related articles

  • CGO is not Go:dave Cheney article, Cgo Bad Place, Chinese
  • Cgo:when and (usually) when not to use it: decision
  • The cost and complexity of Cgo: practical knowledge
  • CGo ' s Go String functions Explained:cgo strings
  • Getting c-compatible structs in Go with and for CGO:C compatible struct
  • Some notes on my experience using Go ' s CGO system:cgo experience
  • Calling go functions from C: Call the Go function in the C language and vice versa
  • Calling go Functions from other Languages: Calling the Go function from another language
  • Rustgo:calling Rust from Go with Near-zero overhead: not CGO, but FFI
  • Adventures with Cgo:part 1-the pointering: Explore
  • Go & cgo:integrating existing C code with Go: Dry ppt
  • How to use CGO on Windows: Chinese, using CGO on Windows
  • Call C code in the Go language: Ko Fai two introduction, hands-on teaching
  • to invoke C + + code in the Go language:
  • Golang using Pkg-config to get header files and link libraries automatically: Use Pkg-config to simplify cflags and ldflags settings
  • Avoiding the Ld_library_path for Gkfx Libs in Go (CGO) applications: Set Cgo_ldflags and CGO_CFLAGS environment variables
  • Handling C + + exceptions in Go: Handling exceptions for C + +
  • Extending Python 3 in go: Extend Python with Go
  • Call go function from C function:c calling Go
  • Go:calling pointer functions in C with CGO: Call C function pointer
  • Passing multidimensional arrays to C functions in CGO: Multidimensional array processing
  • CGO by Example:cgo Example
  • Golang CGO: summary
  • SWIG and Go:c++
  • Call go functions from C:c calling go function
  • CGO Programming: The CGO chapter of the "Go language advanced Programming" in the wood tree fir

Accessibility tools

    • C-for-go:cgo Generator
    • FFI: Another way of not using CGO, FFI
    • Cgoutil: A convenient way to string arrays
    • A convenient way to cgo.wchar:wchar_t
    • CHAI2010/CGO: Auxiliary method for the realization of wood-fir tree

CGO Applications

    • Go-interlang:go examples of mutual invocation with several languages
    • Qt.go:QT binding
    • Raylib-go: Ray Tracing Library
    • GO-OPENCV:
    • Hashicorp/raft-mdb:
    • Go-sqlite3:
    • GOROCKSDB:
    • W32:win32 API Wrapper
    • Magick: Less code, easy to learn
    • Ontts: Iflytek Voice Linux online voice synthesis backend service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.