magnus
ruby
magnus | ruby | |
---|---|---|
13 | 3 | |
589 | 564 | |
- | 1.2% | |
8.8 | 7.0 | |
about 1 month ago | 4 days ago | |
Rust | Shell | |
MIT License | BSD 2-clause "Simplified" 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.
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.
[1]: https://github.com/matsadler/magnus
- 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
ruby
-
buildx kinda sucks. Is this what everyone else is using to build images on their Apple Silicon Mac?
Hmmmm, that image has passing support for most arches (https://github.com/docker-library/ruby/tree/564fdfe2e1451d2f56a815b1213e54c7f8639cb4 at the bottom of the README).
- Is there a docker image for ruby 3.2.0?
-
Ruby 3.2.0 Released
This is looking really good.
By the way if anyone ends up benchmarking Ruby 3.2 using Docker please be aware that the official Ruby image with a Debian base does not enable YJIT. It may not be included for 6+ months or more specifically not until Debian Bookworm is out[0].
[0]: https://github.com/docker-library/ruby/pull/398
What are some alternatives?
rutie - βThe Tie Between Ruby and Rust.β
julia - The Julia Programming Language
tokenizers-ruby - Fast state-of-the-art tokenizers for Ruby
rb-sys - Easily build Ruby native extensions in Rust
CommonMarker - Ruby wrapper for the comrak (CommonMark parser) Rust crate
safrano
wasmtime-rb - Ruby WebAssembly runtime powered by Wasmtime
ruby-rust-extension-benchmark - Benchmark Ruby extension using Rust (Helix, Ruru, Rutie, FFI) and C
halton-rb - A Ruby library, written in Rust, for generating Halton sequences
yrb - Ruby bindings for yrs.
red_amber - A dataframe library for Rubyists.
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing