4

The situation is very simple: I have a node.js application and want it to be able to call functions from my networking library written in golang. As far as I understand there are numerous wrappers around c/c++ code in node, can I create a one around my golang library?

There is a tool gopy http://gopy.qur.me/extensions/install.html which solves this problem for python, but I was unable to found something similar for node.js

Moonwalker
  • 2,180
  • 1
  • 29
  • 48

1 Answers1

1

It seems that it is not possible right now to build shared library in golang. There's an issue talking about this in golang repos and a document describing the go execution mode.

A discussion about this Call Go functions from C

Community
  • 1
  • 1
llgcode
  • 113
  • 4