We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Scientific Computing on JRuby

Formale Metadaten

Titel
Scientific Computing on JRuby
Serientitel
Anzahl der Teile
611
Autor
Lizenz
CC-Namensnennung 2.0 Belgien:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache
Produktionsjahr2017

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
I worked on “Port NMatrix to JRuby” in the context of GSoC 2016. Theperformance of NMatrix-JRuby is outstanding even without making use of JRubythreading capabilities. Also, I am working on ArrayFire gem that helps in easyGPU computation and is 1e4 to 1e7 times faster than NMatrix gem JRuby is known for performance. NMatrix, a linear algebra library, nowsupports JRuby. All SciRuby gems that depend on NMatrix can now be run onJRuby. A scientific library must be highly efficient as the programs can bememory intensive. The programs must be fast at the same time. This calls foroptimization. Suppose, you are running a Ruby program and you need to make it faster; youuse threads, yet you are not happy with the results! Just chain the Rubymethods to Java methods. Using Java method can improve the speed, around 1000times when compared to using Ruby method. Not only speed, it can help you savea lot of RAM, around 10 times. JRuby’s Garbage Collection can sometimes slowdown your program if you are not careful with handling a large amount of data. I would also like to share about ArrayFire gem that would be soon availablefor MRI that can be used for high-performance GPU computing using OpenCL/CUDA.