Moonwalker
Moonwalker

Reputation: 2232

Is there a way to create bindings for golang library for node.js?

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

Upvotes: 4

Views: 4206

Answers (1)

llgcode
llgcode

Reputation: 113

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

Upvotes: 1

Related Questions