You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started learning Go as my job requires to, but as a quite seasoned C programmer, I've checked lots of articles pointing out Go's C FFI poorer performance when compared with Rust's C FFI for example.
Maybe it is due the fact that Go has GC? Would disabling Go's GC help this inter-operation with C?
I am afraid I did not find any proposal related to that, so I would like to leave this point here, and at least, I can learn myself something I forgot to mention in my observation. Thank y'all, in overall, Go is awesome.
The text was updated successfully, but these errors were encountered:
I dont think anybody is opposed to having better C calling performance. For a proposal however this need to explain concretely how this would be achieved. Disabling Go GC is not an option as this would run programs out of memory.
To discuss ideas please use the forums: https://golang.org/wiki/Questions
Once there is a more concrete proposal how to improve performance feel free to open a new issue. The proposal as currently stated has no actionable content.
A proposal not only need to state a problem but also suggest a workable solution.
Consider writing an experience report: https://github.com/golang/go/wiki/ExperienceReports to
point out areas that need improvement drawn from experience working with Go.
There are some existing issues about Cgo call performance: #19574 #28454
I just started learning Go as my job requires to, but as a quite seasoned C programmer, I've checked lots of articles pointing out Go's C FFI poorer performance when compared with Rust's C FFI for example.
Maybe it is due the fact that Go has GC? Would disabling Go's GC help this inter-operation with C?
I am afraid I did not find any proposal related to that, so I would like to leave this point here, and at least, I can learn myself something I forgot to mention in my observation. Thank y'all, in overall, Go is awesome.
The text was updated successfully, but these errors were encountered: