orogene
napi-rs
Our great sponsors
orogene | napi-rs | |
---|---|---|
4 | 35 | |
1,396 | 5,378 | |
3.4% | 5.1% | |
8.9 | 9.6 | |
2 months ago | 1 day ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
orogene
-
Yarn 4.0
Interesting, but no support for workspaces yet: https://github.com/orogene/orogene/issues/161
Said rust npm package manager already exists, but it's somewhat buggy still:
-
Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON
Yarn is actually slower than npm these days. Here's some current benchmarks:
napi-rs
-
Electrons Are Fast, So Can Be Electron β How to Optimize Electron App Performance
Napi-rs
- π GoRules Zen Engine: Rules Engine for Node.js
-
What's the "modern" way of creating a native addon for Node.js?
Thanks! This seems pretty official. I do really like what I saw from https://napi.rs/ where you just throw a "#[napi]" macro on and it works. Do you know if there's a Node API equivalent C/C++ workflow or tool that does something similar? I think the https://github.com/nodejs/webidl-napi is kinda what I'm looking for but it's archived.
- π GoRules Zen Engine: Cross-platform rules engine written in Rust
-
Node & Rust: Friendship Forever. The NAPI-rs Way.
In conclusion, I want to mean a fact from here.
NAPI-RS is a framework for building pre-compiled Node.js addons in Rust.
-
Write SDK βbaseβ in Rust, wrap in other languages?
For example, they list PyO3 for Python (see also maturin for packaging), NAPI-RS for Node.js, and Rutie for Ruby.
-
Interaction between a Node.js module and a Rust program
I don't have any experience in the matter, but I'm assuming you probably want to look into making a Node.js add-on with the Node-API (or NAPI) library, and this one is made for Rust (originally written in C/C++)
-
Rust for Javascript Developers
If you're a nodejs dev, check out https://napi.rs/
What are some alternatives?
canvas - High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
wasmer-go - πΉπΈοΈ WebAssembly runtime for Go
benchmark - MikroORM vs TypeORM benchmark of CRUD operations on 10k entities
node-canvas - Node canvas is a Cairo backed Canvas implementation for NodeJS.
PyO3 - Rust bindings for the Python interpreter
typescript-runtime-type-benchmarks - π Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
prisma-examples - π Ready-to-run Prisma example projects
boa - Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.
rslint - A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate
neon - Rust bindings for writing safe and fast native Node.js modules.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
srt-rs - SRT implementation in Rust