The best real world example I know of mixing cgo and plugins is
https://github.com/eawsy/aws-lambda-go-shim and it works pretty well.
It compiles a go program as a native library using cgo, which is loading some
more golang code compiled as a plugin.
The native library also happens to implement
I'm not familiar with the process nor with the tools that were used, but I
guess there are people on this list who may be able to point you to those.
I suppose if it was feasible for something as large and complex as a
compiler, it should be much easier for comparatively smaller pieces of
softw
What if the libraw C codebase would be converted to Go using the same approach
done when the golang compiler was translated to go?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it,