V
V
Vladimir Grabko2016-07-25 18:41:59
go
Vladimir Grabko, 2016-07-25 18:41:59

Is it possible to compile GO into a library and use it from C++?

I have a package for working with the network (json-rpc with goodies that are beneficial to me). I read that Go can be compiled to din. libraries (.so, .dll, etc.) and I assume that it can be used from C++, but the question is how?
I have a few questions:
1. where to get header files
2. what about types? In GO they are alone, and in C ++ others (the same interface on the fly)
3. where to read about this (and ideally find an example)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-07-25
@VGrabko

Go shared library connections to Ruby
Ruby there sideways
Dance from here, in general

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question