ScalaLab and GroovyLab: Comparing Scala and Groovy for Scientific Computing

Stergios Papadimitriou, Kirsten Schwark, Seferina Mavroudi, Kostas Theofilatos, Spiridon Likothanasis
2015 Scientific Programming  
ScalaLab and GroovyLab are both MATLAB-like environments for the Java Virtual Machine. ScalaLab is based on the Scala programming language and GroovyLab is based on the Groovy programming language. They present similar user interfaces and functionality to the user. They also share the same set of Java scientific libraries and of native code libraries. From the programmer's point of view though, they have significant differences. This paper compares some aspects of the two environments and
more » ... ghts some of the strengths and weaknesses of Scala versus Groovy for scientific computing. The discussion also examines some aspects of the dilemma of using dynamic typing versus static typing for scientific programming. The performance of the Java platform is continuously improved at a fast pace. Today Java can effectively support demanding high-performance computing and scales well on multicore platforms. Thus, both systems can challenge the performance of the traditional C/C++/Fortran scientific code with an easier to use and more productive programming environment.
doi:10.1155/2015/498618 fatcat:l4nrlunumrbizi7wg2f2zhhuly