denim
napi-rs
denim | napi-rs | |
---|---|---|
3 | 35 | |
39 | 5,539 | |
- | 2.9% | |
8.1 | 9.6 | |
17 days ago | 1 day ago | |
Nim | Rust | |
MIT License | 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.
denim
-
My Node.js is a bit Rusty
Related: you can write a Node.js module in Nim with Denim: https://github.com/openpeeps/denim
-
Nim v2.0 Released
Somewhat related, you can call Nim code from Node.js/Bun using Denim: https://github.com/openpeeps/denim. It works by creating a Node add-on.
This is great for reusing Nim code in a web app, and possibly for performance critical code.
-
Node vs Flask for Scaling
Something I'm just starting for one of my projects, is to use Node on front-end and back-end (mostly for GraphQL). Then write the majority of the back-end in Nim and compile it to a Node add-on with Denim (https://github.com/openpeeps/denim). Nim can call Python with Nimpy if I ever need to call it.
napi-rs
- Napi: Build compiled Node.js add-ons in Rust
- Napi.rs, framework for building pre-compiled Node.js addons in Rust
-
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
-
Equivalent to wasm-pack for nodejs C FFI?
Does it need to be Neon? From what I've read, there's something about its design that allows napi-rs to achieve better performance in some situations.
-
Node & Rust: Friendship Forever. The NAPI-rs Way.
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.
- NAPI-RS 3.0 RFC is ready; come and join the discussion
What are some alternatives?
nodejs - Alternative StdLib for Nim for NodeJS/JavaScript targets, hijacks NodeJS StdLib for Nim
canvas - High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
node-webrtc - node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87
wasmer-go - πΉπΈοΈ WebAssembly runtime for Go
genepi - Automatic generation of N-API wrapper from a C++ library
node-canvas - Node canvas is a Cairo backed Canvas implementation for NodeJS.
nim-webui - Use any web browser as GUI, with Nim in the backend and HTML5 in the frontend.
benchmark - MikroORM vs TypeORM benchmark of CRUD operations on 10k entities
gintro - High level GObject-Introspection based GTK3/GTK4 bindings for Nim language
PyO3 - Rust bindings for the Python interpreter
webgui - Web Technologies based Crossplatform GUI Framework with Dark theme
typescript-runtime-type-benchmarks - π Benchmark Comparison of Packages with Runtime Validation and TypeScript Support