They say that using Rust from Ruby is fast: http://qiita.com/rejasupotaro/items/2aa57a67f4a97101950c
What about R?
Install necessary packages:
And, of cource, install Rust:
This can be installed by devtools::install_url()
.
devtools::install_url("http://www.omegahat.org/RAutoGenRunTime/RAutoGenRunTime_0.3-1.tar.gz")
Rffi can be installed by the same way.
devtools::install_url("http://www.omegahat.org/Rffi/Rffi_0.3-0.tar.gz")
But, I coundn't install this into my Windows... So, I did create a repo for Windows: https://github.com/yutannihilation/Rffi.
devtools::install_github("yutannihilation/Rffi")
library(RRustFib)
fib(40L)