Hacker GitHub

← All repos

steveklabnik/rust_example

View on GitHub ↗ ★ 104 Ruby

A Ruby gem, implemented in Rust

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2014-12-19 · latest 2015-04-24

Mentions per year 3 mentions · busiest year 2015 (2)
20082026
  1. https://github.com/steveklabnik/rust_example is one way to do it, albiet the most complex one: a thin C wrapper over the Rust, which is then a C extension for Ruby. Easier ones are using FFI or Fiddle.
    comment by steveklabnik · 2015-04-24 · in Rust once, run everywhere
  2. I did! https://github.com/steveklabnik/rust_example A Ruby extension written in Rust is also one of the first production uses: skylight.io
  3. …exactly this (www.skylight.io). Here's a dummy repo from steveklabnik to demonstrate the process: https://github.com/steveklabnik/rust_example (though the change in the OP is so now that I doubt this repo has yet been updated)