3 ms·
Go can use C libraries, but AFAIK it cannot be compiled into a shared library to be used by a C program. Go needs control of the program flow to orchestrate its
by majewsky 10y ago
Go can use C libraries, but AFAIK it cannot be compiled into a shared library to be used by a C program. Go needs control of the program flow to orchestrate its runtime (esp. the GC).
Nim can definitely produce C-compatible libraries, seeing how it compiles to C itself.
- mixedCase 10y ago>but AFAIK it cannot be compiled into a shared library to be used by a C program. Go 1.5 added support for this.