Tools for Scientific Computing in Ruby

The SciRuby project is oriented towards providing computational research infrastructure for the Ruby Programming Language. SciRuby consists of a fairly large number of gems, including statsample, statsample-glm, statsample-timeseries, distribution, minimization, integration, rubyvis, plotrb, Nyaplot, MDArray, Publisci, Ruby-Band, daru, rubex, and NMatrix.

NMatrix has been awarded grants by the Ruby Association in 2012 and 2015, and has a goal of supplying Ruby with a robust, versatile linear algebra library with support for both dense and sparse matrices. Statsample and its related packages aim to provide Ruby with statistical analysis packages, while daru, nyaplot and gnuplotrb take care of data analysis and visualization. Nyaplot was awarded the Ruby Association Grant in 2014, and Rubex and tensorflow.rb received it in 2016.

Working on SciRuby is a chance to get involved at the ground floor on a project which is viewed as critical by many Rubyists, including Ruby's creator, Matz. In fact, all the grants issued in 2016 by the Ruby Association (which is headed by Matz) have gone to scientific projects.

Since we are first and foremost a science-related project, we expect successful student projects to lead to publications. Better yet, students might get to see their code go into orbit, or used to save lives in biomedical research.

lightbulb_outline View ideas list


  • ruby
  • science
  • web
  • data
  • gpu


comment IRC Channel
email Mailing list
mail_outline Contact email

Ruby Science Foundation 2017 Projects

  • prasunanand
    Creating the fastest math libraries for Ruby by using the GPU through OpenCL and ArrayFire.
    Few people realise it, but even the modest computers today, including mobile phones, have powerful GPUs. And these GPUs can be used serially and in...
  • Athitya Kumar
    Make Daru more integratable with modern web frameworks of Ruby
    Daru is a Data Analysis Library in Ruby - whose user base would definitely increase by making it friendly enough to integrate with modern Ruby web...
  • Shekhar Prasad Rajak
    Make Daru more ready for integration with modern Web framework - GSoC 2017- Shekhar Prasad Rajak
    DaRu (Data Analysis in RUby) is a library for storage, analysis, manipulation and visualisation of data. Currently it is doing good job for...