首页> 外文会议>International Conference on Computational Science and Its Applications(ICCSA 2004) pt.2; 20040514-20040517; Assisi; IT >Threads in an Undergraduate Course: A Java Example Illuminating Different Multithreading Approaches
【24h】

Threads in an Undergraduate Course: A Java Example Illuminating Different Multithreading Approaches

机译:本科课程中的线程:阐明不同多线程方法的Java示例

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

摘要

Multithreading is a fundamental approach to expressing parallelism in programs. Since Java is emerging as the de facto standard language for platform independent software development in higher education, there is need for teaching multithreading in the context of Java. We use a simple problem from scientific computing to explain two different multithreading approaches to second-year students. More precisely, a simple boundary value problem is considered, which makes visible the differences between native Java threads and the OpenMP interface. So, the students are able to appreciate the respective merits and drawbacks of a thread package that is integrated into the Java programming language and an approach combining compiler support with library calls.
机译:多线程是表达程序并行性的基本方法。由于Java逐渐成为高等教育中独立于平台的软件开发的事实上的标准语言,因此需要在Java上下文中教授多线程。我们使用科学计算中的一个简单问题来为二年级学生解释两种不同的多线程方法。更准确地说,考虑了一个简单的边界值问题,该问题使本机Java线程与OpenMP接口之间的差异可见。因此,学生将能够了解集成到Java编程语言中的线程包的优点和缺点,以及将编译器支持与库调用相结合的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号