[email protected] Released, build fast and safe NodeJS native addon in Rust

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • node-rs

    Node.js bindings ❤️ Rust crates

  • And there are libraries written by napi and rust: https://github.com/napi-rs/node-rs. You can see all of it's provide the same functional and faster than the libraries written in C/C++.

  • swc

    Rust-based platform for the Web

  • About performance, I tested in swc long time ago, in swc scenario napi-rs is 2x faster than neon's legacy backend: https://github.com/swc-project/swc/issues/852. Compare with the neon's napi backend, the performance won't be very different. But the napi backend of neon is incomplete.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ssvm-nodejs-starter

    Discontinued A template project to run Rust functions in Node.js through the Second State WebAssembly engine.

  • What benefits does this offer over using something like second-state-vm. I recently worked with napi in c++ and returning a native object without wrapping it with getters and setters is a pain I ended up creating a new NAPI Object and adding each field one by one.

  • rust-node-perf

  • Here is a library to compare the callover head between libraries: https://github.com/jdsaund/rust-node-perf

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts