Table of Contents Author Guidelines Submit a Manuscript
Scientific Programming
Volume 2015 (2015), Article ID 498618, 13 pages
Research Article

ScalaLab and GroovyLab: Comparing Scala and Groovy for Scientific Computing

1Department of Computer Engineering & Informatics, Technological Educational Institute of Kavala, 65404 Kavala, Greece
2iDashboards, 900 Tower Drive, Troy, MI 48098, USA
3Department of Computer Engineering and Informatics, University of Patras, Greece
4Technological Educational Institute of Patras, 26332 Patras, Greece

Received 26 January 2014; Revised 14 August 2014; Accepted 12 January 2015

Academic Editor: Damian Rouson

Copyright © 2015 Stergios Papadimitriou et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


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 highlights 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.