For example, I want to write modules in a mix of Go and Lua. Suppose I define a method GetInfo() in one of the Go modules. Can I call this Go GetInfo() method in a Lua module and obtain its return value?
Hi @1609988,
No, this is not possible. Exposing client RPCs from the different runtimes is possible, but calling functions directly between them is not.
The only alternative (which is a bit of a hack, it works, but it’s generally inadvisable as it adds overhead) is to expose the function via RPC and call it using HTTP from another runtime via the localhost address.
Best.