On Tue, Apr 11, 2017 at 7:40 AM, Serge Hulne <serge.hu...@gmail.com> wrote:
>
> I used SWIG in the past to be able to use C functions from Python code and
> to largely automate the process of making said lib of C functions accessible
> to Python.
>
> I would like to do the same with Go.
>
>
> Is SWIG still the best tool for the job or is there maybe another new too
> more appropriate for the task?

For calling C code most people simply use cgo (https://golang.org/cmd/cgo).

For calling C++ code SWIG is still the best tool for the job.

Ian

-- 
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, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to