Progress of Ruby/Numo: Numerical Computing for Ruby
summary
Numo (new NArray) reimplements NArray with views, broadcasting, and masking and provides working wrappers for BLAS/LAPACK, GSL, FFTW/FFTE, and a Gnuplot interface. Coverage hits about 217 of NumPy’s ~363 core array functions; microbenchmarks show Numo’s C-level array ops are ~230× faster than Ruby loops and competitive with NumPy in some cases, while nmatrix is 100–10,000× slower. BLAS/LAPACK use dynamic backends (OpenBLAS/Intel MKL), GSL wrappers are auto-generated, FFT wrappers exist, but many functions, tests and docs remain unfinished.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 4:59History and evolution of NArray
- 7:13NArray features and advantages
- 12:10NArray key functionalities
- 15:44Comparison with Matrix library
- 18:45New Mo's linear algebra module
- 21:55New Mo's GSL wrapper
- 24:59New Mo's FFT wrappers
- 25:42New Mo's plotting interface
- 27:10Progress and future of New Mo
- 33:15Conclusion and call for collaboration
related talks
23mSpeeding up NMatrix by 100x
21mScientific Computing in Ruby
23mHigh Performance GPU Computing with Ruby
28mData Science in Ruby? Is it possible? Is it Fast? Should we use it?
45mRUBY ARRAYS ON STEROIDS
40mEnter the Matrix
42mii hidden gems
36mRuby Supercomputing: Using The GPU For Massive Performance Speedup
