作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (13): 57-58,61. doi: 10.3969/j.issn.1000-3428.2010.13.020

• 软件技术与数据库 • 上一篇    下一篇

基于标记语言的并行多核编程方法

张盈谦   

  1. (大连东软信息学院计算机系,大连 116023)
  • 出版日期:2010-07-05 发布日期:2010-07-05
  • 作者简介:张盈谦(1979-),男,高级工程师,主研方向:软件体系结构,多核编程

Parallel Multi-core Programming Method Based on Markup Language

ZHANG Ying-qian   

  1. (Department of Computer Science and Technology, Dalian Neusoft Institute of Information, Dalian 116023)
  • Online:2010-07-05 Published:2010-07-05

摘要: 提出一种在多核平台上的快速多线程编程模型ThreadXML。该模型通过使用标记语言形式,提高程序的开发效率,支持可视化,增强并行程序设计的移植性。其中,语言模型编译器的实现采用代码模板技术和面向对象技术相结合的方式,能将ThreadXML源代码转换成目前可执行的程序代码,辅助可视化工具采用图元对象和代码模板技术实现。

关键词: 标记语言, 多核, 可视化工具, 多线程, 并行, 代码生成

Abstract: This paper proposes ThreadXML programming model which is a rapid multithread programming model and can be embedded into most normal programming languages. ThreadXML is a sort of markup language which can enhance programming productivity and be easily designed by visual programming tool. A ThreadXML compiler and a ThreadXML related visual programming tool implementation method are presented. ThreadXML compiler is implemented by using object-oriented technology and code template technology, which is able to transform ThreadXML code into mostly common executable code. ThreadXML related visual programming tool is implemented by using graphic element and code template technology.

Key words: markup language, multi-core, visual tool, multithread, parallel, code generation

中图分类号: