javascript – Converting Node.js (npm) package to C++ for use in Go and C#
I have a npm package, which is basically a console application, that I need to use in both Go and C# applications. Direct conversion to C++ seems complex and time-consuming. What are the best approaches or alternatives to make this Node.js package accessible in Go and C# environments?
Key details:
The Node.js package is extensive, making manual conversion impractical
- Need to use the package functionality in both Go and C# applications
- Looking for efficient solutions that minimize code duplication
- Open to alternatives like creating wrappers or using intermediary technologies
Has anyone successfully tackled a similar challenge? Any insights on best practices or potential pitfalls would be greatly appreciated.
Tried googling if someone’s ever done such a thing but it’s usually the other way around.
Read more here: Source link
