Recently I have considered using golang as the basis for a game runtime. I was tinkering with the idea of wrapping SFML into a Go library and linking in game modules written in GO. I was wondering if anyone had any experience with golang and had any advice for me.
For example, is it a good idea to place the game loop on the C/C++ side, or keep it on the Go side?
I use <extern void go_func_name() __asm__ ("package_name.function_name");> as the basis for calling over into go. Are there more efficient ways of doing this? What if I do not know the name of the package/function at compile time?