Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Use pure Node.js code #33

Open
mcandre opened this issue Nov 11, 2019 · 0 comments
Open

Use pure Node.js code #33

mcandre opened this issue Nov 11, 2019 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Nov 11, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant