A Rust library for bidirectional integration between Ruby and Rust, enabling Ruby code in Rust applications and Rust code in Ruby applications.
Rutie is a Rust library that provides seamless bidirectional integration between Ruby and Rust. It allows developers to call Ruby code from Rust applications and embed Rust code within Ruby applications, enabling performance improvements and leveraging Rust's safety features in Ruby ecosystems.
Developers working with Ruby who need to write performance-critical extensions in Rust, or Rust developers who want to integrate Ruby scripting or existing Ruby libraries into their applications.
Rutie offers a straightforward upgrade path from the predecessor Ruru project and prioritizes developer choice by allowing performance-critical code to omit expensive exception handling while providing safe alternatives when needed, balancing Rust's safety ideals with Ruby's dynamic nature.
“The Tie Between Ruby and Rust.”
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables calling Ruby from Rust and embedding Rust in Ruby, facilitating performance improvements and leveraging Rust's safety in Ruby ecosystems.
Offers a straightforward upgrade from the predecessor Ruru project, reducing migration effort for existing users.
Balances performance and safety by allowing developers to omit exception handling for critical code while providing protect methods for safety.
Source code in class modules is thoroughly documented with examples, aiding learning and practical usage.
Many methods can panic if Ruby exceptions are raised, requiring explicit use of protect methods to avoid crashes, contradicting Rust's safety ideals.
Has known issues with Ruby 3's garbage collection features like GC#mark, limiting full compatibility with newer Ruby versions.
Incomplete support for static builds forces reliance on dynamic linking, which can complicate deployment and require environment tweaks.