首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Using JavaScript and WebCL for Numerical Computations: A Comparative Study of Native and Web Technologies
【24h】

Using JavaScript and WebCL for Numerical Computations: A Comparative Study of Native and Web Technologies

机译:使用JavaScript和WebCL进行数值计算:本机和Web技术的比较研究

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

摘要

From its modest beginnings as a tool to validate forms, JavaScript is now an industrial-strength language used to power online applications such as spreadsheets, IDEs, image editors and even 3D games. Since all modern web browsers support JavaScript, it provides a medium that is both easy to distribute for developers and easy to access for users. This paper provides empirical data to answer the question: Is JavaScript fast enough for numerical computations? By measuring and comparing the runtime performance of benchmarks representative of a wide variety of scientific applications, we show that sequential JavaScript is within a factor of 2 of native code. Parallel code usingWebCL shows speed improvements of up to 2.28 over JavaScript for the majority of the benchmarks.
机译:从最初作为一种验证表单的工具开始,JavaScript现已成为一种工业强度语言,用于为在线应用程序(例如电子表格,IDE,图像编辑器甚至3D游戏)提供动力。由于所有现代的Web浏览器都支持JavaScript,因此它提供了一种既易于开发人员分发又易于用户访问的介质。本文提供了经验数据来回答这个问题:JavaScript是否足够快地用于数值计算?通过测量和比较代表各种科学应用程序的基准测试的运行时性能,我们显示出顺序JavaScript在本机代码的2倍之内。对于大多数基准测试,使用WebCL的并行代码显示的速度比JavaScript最高提高了2.28。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号