rutie VS napi-rs

Compare rutie vs napi-rs and see what are their differences.

rutie

“The Tie Between Ruby and Rust.” (by danielpclark)

napi-rs

A framework for building compiled Node.js add-ons in Rust via Node-API (by napi-rs)
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.
www.influxdata.com
featured
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
rutie napi-rs
8 35
863 5,477
- 4.7%
5.2 9.6
about 2 months ago 7 days ago
Rust Rust
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

rutie

Posts with mentions or reviews of rutie. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-31.
  • Write SDK “base” in Rust, wrap in other languages?
    11 projects | /r/rust | 31 Mar 2023
    For example, they list PyO3 for Python (see also maturin for packaging), NAPI-RS for Node.js, and Rutie for Ruby.
  • Magnus: High level Ruby bindings for Rust
    3 projects | /r/rust | 21 Apr 2022
    If this sounds useful you should also take a look at rutie, another library that does the same thing and has been around longer.
  • Magnus: Ruby bindings for Rust
    5 projects | /r/ruby | 2 Apr 2022
    I'm not the first person to have this idea, there's also the great rutie. I make no claims that Magnus is any better, it's just my attempt at it.
  • Using ripgrep as library?
    1 project | /r/rust | 15 Dec 2021
    I did some tinkering before with excelent rutie gem, which enables writing ruby libraries with rust as native extension, so was wondering if I could use that one + ripgrep for faster searches.
  • Does rust have function works like eval?
    9 projects | /r/rust | 19 Aug 2021
    hlua or rlua are what you want for Lua, rust-cpython or PyO3 for Python, rutie for Ruby, and possibly deno_core for JavaScript.
  • Need some advice with integrating ruby scripting into my my project
    2 projects | /r/rust | 29 Jul 2021
    I was at first using mrusty, then I switched to rutie, because I thought mrusty didn't support blocks (it does, it's just he documentation for it is easily missed, it's in the docs for the for the mrfn! macro, right near the bottom of the page), so I'm switching back (haven't yet started on this redo) because it has what I want & it's easier to use.
  • Advantages of building a CRUD web application in Rust?
    7 projects | /r/rust | 7 Feb 2021
    If writing the whole API in Rust is too big of a sell for your employer, I highly recommend checking out rutie or helix (running native rust modules from ruby).
  • New book! Refactoring to Rust
    2 projects | /r/rust | 7 Jan 2021
    Helix (https://github.com/tildeio/helix) is deprecated though. The only candidate alive enough seems to be Rutie (https://github.com/danielpclark/rutie). At least you don't risk putting people in the wrong direction! I think I will buy the book, from skimming it seems cool!

napi-rs

Posts with mentions or reviews of napi-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-24.

What are some alternatives?

When comparing rutie and napi-rs you can also consider the following projects:

Helix - Native Ruby extensions without fear

canvas - High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.

Ruru - Native Ruby extensions written in Rust

wasmer-go - 🐹🕸️ WebAssembly runtime for Go

magnus - Ruby bindings for Rust. Write Ruby extension gems in Rust, or call Ruby from Rust.

node-canvas - Node canvas is a Cairo backed Canvas implementation for NodeJS.

ToCollection - Treat an array of objects and a singular object uniformly as a collection of objects. Especially useful in processing REST Web Service API JSON responses in a functional approach.

benchmark - MikroORM vs TypeORM benchmark of CRUD operations on 10k entities

fast_blank

PyO3 - Rust bindings for the Python interpreter

sugar_utils - Utility methods extracted from SugarCRM Ruby projects

typescript-runtime-type-benchmarks - 📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support