Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
proposal: Go 2: Better C FFI performance! (Discussion) #39115
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.
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
A proposal not only need to state a problem but also suggest a workable solution.