rutie
magnus
Our great sponsors
rutie | magnus | |
---|---|---|
8 | 13 | |
862 | 576 | |
- | - | |
5.2 | 8.9 | |
about 1 month ago | 16 days ago | |
Rust | Rust | |
MIT License | MIT License |
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
-
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.
-
Magnus: High level Ruby bindings for Rust
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
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?
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?
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
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?
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
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!
magnus
-
Regarding using multiple languages in one project
You can also use Rust to write an extension module that can be loaded into the Ruby interpreter, so that everything runs in the same process: https://github.com/matsadler/magnus
- Magnus – Write Ruby extension gems in Rust, or call Ruby code from a Rust binary
- Magnus 0.5 released (Library for writing Ruby gems in Rust)
-
Tried polars in Ruby
So while the Arrow C binding for the Ruby language is relatively well-developed, polars-df is not an Arrow C binding, but a binding to Polars implemented in Rust. magnus is used for the connection between Ruby and Rust. In fact, there is also a Ruby data frame that uses the Arrow binding, which is called RedAmber. But we are not talking about that now.
-
Ruby 3.2.0 Released
The template generated with bundle gem —-ext=rust uses the Magnus[1] library that provides a high-level friendly Rust wrapper over the Ruby C API, but you can also use rb-sys[2] which is lower level bindings direct to the Ruby C API.
- 0.4.0 Release of Magnus. Write Ruby Gems in Rust, or Call Ruby from Rust
- 0.4.0 release of Magnus (Write Ruby gems in Rust)
- Magnus (bindings to Ruby) version 0.3.0
- Magnus (Rust library for writing Ruby gems) version 0.3.0
- Magnus: High level Ruby bindings for Rust
What are some alternatives?
Helix - Native Ruby extensions without fear
tokenizers-ruby - Fast state-of-the-art tokenizers for Ruby
Ruru - Native Ruby extensions written in Rust
CommonMarker - Ruby wrapper for the comrak (CommonMark parser) Rust crate
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.
wasmtime-rb - Ruby WebAssembly runtime powered by Wasmtime
fast_blank
ruby-rust-extension-benchmark - Benchmark Ruby extension using Rust (Helix, Ruru, Rutie, FFI) and C
Hamster - Efficient, Immutable, Thread-Safe Collection classes for Ruby
halton-rb - A Ruby library, written in Rust, for generating Halton sequences
sugar_utils - Utility methods extracted from SugarCRM Ruby projects
yrb - Ruby bindings for yrs.