首页> 外文会议>International Workshop on Applied Parallel Computing >A Case Study in High-Performance Mixed-Language Programming
【24h】

A Case Study in High-Performance Mixed-Language Programming

机译:高性能混合语言编程的案例研究

获取原文

摘要

Several widely used and promising programming tools and styles for computational science software are reviewed and compared. In particular, we discuss function/subroutine libraries, object-based programming, object-oriented programming, generic (template) programming, and iterators in the context of a specific example involving sparse matrix-vector products. A key issue in the discussion is to hide the storage structure of the sparse matrix in application code. The role of different languages, such as Fortran, C, C++, and Python, is an integral part of the discussion. Finally, we present performance measures of the various designs and implementations. These results show that high-level Python programming, with loops migrated to compiled languages, maintains the performance of traditional implementations, while offering the programmer a more convenient and efficient tool for experimenting with designs and user-friendly interfaces.
机译:综述并比较了几种广泛使用和有前途的计算科学软件的设计工具和样式。特别是,我们讨论函数/子程序库,基于对象的编程,面向对象的编程,通用(模板)编程和迭代器在涉及稀疏矩阵矢量产品的具体示例的上下文中。讨论中的一个关键问题是隐藏应用程序代码中稀疏矩阵的存储结构。不同语言的角色,例如Fortran,C,C ++和Python是讨论的一个组成部分。最后,我们提出了各种设计和实施的绩效措施。这些结果表明,具有循环迁移到汇编语言的高级Python编程维护了传统实现的性能,同时为程序员提供了更方便和高效的工具,可以尝试设计和用户友好的接口。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号