appmetrics-prometheus icon indicating copy to clipboard operation
appmetrics-prometheus copied to clipboard

Use pure Node.js code

Open mcandre opened this issue 6 years ago • 0 comments

Please avoid using native C/C++ dependencies in NPM packages. While native dependencies may offer performance benefits, they also tend to require a lot of extra effort to install and manage in production compared to pure dependencies.

The same is true for native dependencies in Ruby projects, Java projects, Go projects, and so on. By using native dependencies, you limit the deployment environment from Node.js environments to Node.js environments running on very specific OS, architecture, libc, static library configurations, which break more frequently and in less debuggable ways compared to pure, in-language libraries.

mcandre avatar Nov 11 '19 21:11 mcandre