...
首页> 外文期刊>International journal of modeling, simulation and scientific computing >The design of JVM and native libraries in ScalaLab for efficient scientific computation
【24h】

The design of JVM and native libraries in ScalaLab for efficient scientific computation

机译:ScalaLab中的JVM和本机库的设计可实现高效的科学计算

获取原文
获取原文并翻译 | 示例
           

摘要

ScalaLab is a MATLAB-Iike environment for the Java Virtual Machine (JVM). ScalaLab is based on the Scala programming language. It utilizes an extensive set of Java and Scala scientific libraries and also has access to many native C/CH++ scientific libraries by using mainly the Java Native Interface (JNI). The performance of the JVM platform is continuously improved at a fast pace. Today JVM can effectively support demanding high-performance computing and scales well on multicore platforms. However, sometimes optimized native C/CH++ code can yield even better performance, by exploiting low-level programming issues, such as optimization of caches and architecture-dependent instruction sets. The present work reports some of the experiences that we gained with experiments with both Just in Time (JIT) JVM code and native code. We compare some aspects of Scala and C++ that concern the requirements of scientific computing and highlight some strong features of the Scala language that facilitate the implementation of scientific scripting. This paper describes how ScalaLab tries to combine the best features of the JVM with those of the C/C++ technology, in order to implement an effective scientific computing environment.
机译:ScalaLab是Java虚拟机(JVM)的MATLAB-Iike环境。 ScalaLab基于Scala编程语言。它利用了广泛的Java和Scala科学库集,并且还可以通过主要使用Java本机接口(JNI)来访问许多本机C / CH ++科学库。 JVM平台的性能一直在快速提高。如今,JVM可以有效地支持苛刻的高性能计算,并且可以在多核平台上很好地扩展。但是,有时优化的本机C / CH ++代码可以利用低级编程问题(例如,优化缓存和与体系结构相关的指令集)来获得更好的性能。本工作报告了我们在使用即时(JIT)JVM代码和本机代码进行实验时获得的一些经验。我们比较了涉及科学计算需求的Scala和C ++的某些方面,并重点介绍了Scala语言的一些强大功能,这些功能有助于实现科学脚本。本文介绍了ScalaLab如何尝试将JVM的最佳功能与C / C ++技术的最佳功能结合起来,以实现有效的科学计算环境。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号