Re:Rust vs C Pitfalls
by lobster_johnson on Tuesday December 27, 2016 @11:00PM
(#13268338)
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-o...
It 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.
That's not true. It's quite simple to create a loadable shared object in go and call it using anything with a c ffi.