3 ms·
Calling C from Go has significant overhead [1], doesn't that mean calling Go from C is equally slow? [1] https://www.cockroachlabs.com/blog/the-cost-and-comple
by lobster_johnson 10y ago
Calling C from Go has significant overhead [1], doesn't that mean calling Go from C is equally slow?
[1] https://www.cockroachlabs.com/blog/the-cost-and-complexity-of-cgo/ https://www.cockroachlabs.com/blog/the-cost-and-complexity-o...
- hueving 10y agoIt may be even worse calling Go from C since you are bring the whole Go runtime with GC and all when you call into Go.