squiidz / pair

rust to ruby with ruru

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pair

Simple rust to ruby example with ruru.

you need to install CONFIGURE_OPTS=--enable-shared rbenv install 2.3.0

Build

  • cargo build --release
  • ./move.sh
  • cd ruby
  • time ruby test_rust.rb
  • time ruby test_ruby.rb

Build Gem

  • cargo build --release
  • ./move.sh
  • cd ruby/pair
  • gem build pair.gemspec
  • gem install pair-0.0.1.gem

About

rust to ruby with ruru


Languages

Language:Rust 71.0%Language:Ruby 27.5%Language:Shell 1.5%