Helix: Native Extensions for Everyone
summary
Helix claims Rust can become the standard way to write Ruby native extensions by providing a macro-based API that generates bindings and integrates with Cargo and gem packaging. The demo shows building a working extension for string and JSON manipulation, with most logic in safe Rust and only a thin C-compatible shim, reduces unsafe shim to a few lines. Tooling proof includes compiling with Cargo, running Ruby tests, and loading the gem into an IRB session.
AI-written summary · about
chapters (5)
related talks
40mIntroducing Helix: High-Performance Ruby Made Easy
43mBending The Curve: Putting Rust in Ruby with Helix
47mRewriting a Ruby C Extension in Rust
36mUsing Rust with Ruby
40mTurbo Rails with Rust
40mImprove extension API: C++ as better language for extension
31mWrapping Rust in Ruby
24mThe State of C Extensions: Alive and Well, so Learn to Deal
