- Go Systems Programming
- Mihalis Tsoukalos
- 133字
- 2021-07-02 18:08:03
Calling C code from Go
Go allows you to call C code because there are times when the only way to perform some tasks, such as communicating with a hardware device or a database server, is by using C. Nevertheless, if you find yourself using this capability many times in the same project, you might need to reconsider your approach and your choice of programming language.
Talking more about this capability in Go is beyond the scope of this book. What you should remember is that most likely, you will never need to call C code from your Go program. Nevertheless, should you wish to explore this Go feature, you can start by visiting the documentation of the cgo tool at https://golang.org/cmd/cgo/ as well as by looking at the code found at https://github.com/golang/go/blob/master/misc/cgo/gmp/gmp.go.
- Mastering Concurrency Programming with Java 8
- C++程序設計(第3版)
- Python 深度學習
- Python神經網絡項目實戰
- Cassandra Data Modeling and Analysis
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- 手把手教你學C語言
- SQL基礎教程(第2版)
- Hadoop大數據分析技術
- Learning Splunk Web Framework
- Docker:容器與容器云(第2版)
- Python硬件編程實戰
- C# 7.1 and .NET Core 2.0:Modern Cross-Platform Development(Third Edition)
- Spring Boot從入門到實戰
- 3D Printing Designs:Design an SD Card Holder