- 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.
- Google Flutter Mobile Development Quick Start Guide
- 測試驅(qū)動開發(fā):入門、實(shí)戰(zhàn)與進(jìn)階
- SpringMVC+MyBatis快速開發(fā)與項(xiàng)目實(shí)戰(zhàn)
- JavaScript語言精髓與編程實(shí)踐(第3版)
- OpenStack Orchestration
- AIRIOT物聯(lián)網(wǎng)平臺開發(fā)框架應(yīng)用與實(shí)戰(zhàn)
- CoffeeScript Application Development Cookbook
- Learning Unreal Engine Android Game Development
- C語言程序設(shè)計與應(yīng)用(第2版)
- HTML+CSS+JavaScript編程入門指南(全2冊)
- ABAQUS6.14中文版有限元分析與實(shí)例詳解
- Arduino機(jī)器人系統(tǒng)設(shè)計及開發(fā)
- 少兒編程輕松學(xué)(全2冊)
- 軟件測試(慕課版)
- 基于JavaScript的WebGIS開發(fā)