8000 Rewrite nodejs-snowflake in Rust by tangledbytes · Pull Request #14 · tangledbytes/nodejs-snowflake · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@tangledbytes
Copy link
Owner

Description

This PR rewrites entire nodejs-snowflake into Rust. Following are the reasons:

  1. Noticeable performance gains when using WASM instead N-API (now Node-API).
  2. N-API required to build binaries for each platform and NodeJS version, however owing to the design of WASM it is quite easy to compile just for the WASM VM. This allows easy installation of the extension without needing any build tools (likes of Visual Studio needed to install?? #13).
  3. I ❤️ Rust.

Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
@tangledbytes tangledbytes merged commit aaae2b6 into master Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0