Re:A Week with Mozilla's Rust
by timtadh on Wednesday August 21, 2013 @05:04PM
(#6253309)
How it works (from http://golang.org/src/pkg/runtime/cgocall.c )
[ Parent
| on HN ]
I'm not particularly familiar with either language... that documentation seems to be talking only about Go called from C-called-from-Go, not from arbitrary C. In other words, it handles Go calling a C function that expects a callback, and handing it a Go function. This does not handle a fundamentally-C program calling a Go function.
Again, not an expert, I could be mistaken, but this seems to not be addressing the original issue raised (that C/Go interop is one-way only).