- 2
- 0
- 约 28页
- 2016-12-11 发布于贵州
- 举报
摘要
跨平台是软件开发中一个重要的概念,即不依赖于操作系统,也不信赖硬件环境。一个操作系统下开发的应用,放到另一个操作系统下依然可以运行。相对而言如果某种计算机语言不用修改代码即可做到高度跨平台,那么此语言就越抽象,硬件控制力就越低,只适合开发高度抽象的模型系统。
文中提到的当下比较流行的开源库如Boost,Qt, ZThreads,Ptypes,这些开发库各有各的侧重点,在性能和框架设计上各有不同,本文会依次简要分析这些开发库的设计原则,概括总结跨平台有两种实现方式,利用分支技术,或者利用动态平台识别,例如Java是一种提供运行环境的跨平台解决方案,而C只是一种标准且严格的跨平台语言,本文就是主要探讨C的跨平台库实现。
本文会简要分析几种跨平台的技术实现和区别,并通过对实现方法的总结,而借用一种叫做核心和路由的技术来实现跨平台库的构架,并给出相应实现,最后配上相应的演示功能程序。
关键词:跨平台、开源库、Boost、线程库Abstract
Cross-platform software development is an important concept, that is not dependent on the operating system, do not trust the hardware environment. An operating system developed under the application can still run into another operating system. In contrast If a computer language without modifying the code to achieve a high degree of cross-platform, then the more abstract language, lower hardware control, only suitable for the development of highly abstract model system.
Current popular open source libraries such as Boost, of Qt, ZThreads, Ptypes, each of these development libraries each focus on performance and frame design different, this article will be followed by a brief analysis of the design principles of these development libraries, text summary cross-platform implemented in two ways, a branch of technology, or the use of a dynamic platform to identify, for example, Java is a cross-platform operating environment solutions, and C is a standard and rigorous cross-platform language, this paper focuses on C cross-platform library.
This article is a brief analysis of several cross-platform technology and distinction, and summary of the implementation, and to borrow a technique called core and routing technology to achieve cross-platform library architecture, and gives the corresponding implementation, and finally coupled with the corresponding demo program.
Key words: cross-platform, open source library, Boost thread library目录
摘要 1
Abstract 2
第一章 引言 4
1.1研究背景 4
1.2主要研究内容 5
1.3论文结构 5
第2章 跨平台软件开发环境 6
2.1 跨平台开发的历史 6
2.2 预处理器使用 6
2.2.1 例子 1: Boo
您可能关注的文档
最近下载
- DB2302T 063-2023 红小豆绿色优质高产栽培技术规程.pdf VIP
- 山东省“两高”项目管理目录(2025年版).pdf VIP
- 2.《化工和危险化学品生产经营企业重大生产安全事故隐患判定标准(征求意见稿)》编制说明.pdf VIP
- 排污许可应知应会手册-排污单位篇.pdf VIP
- 化工企业消防设施安全管理-中国化学品安全协会.pptx VIP
- 废止《导轨式胶轮系统设计要求》等377项山东省地方标准.pdf VIP
- DB12_T 1427-2025 玉米机收减损作业技术规范.pdf VIP
- 加油新学期新气象主题班会PPT新学期新起点新计划PPT课件(带内容).pptx VIP
- 2023年南昌航空大学计算机科学与技术专业《操作系统》科目期末试卷B(有答案).docx VIP
- 餐饮品牌手册 -蜜雪冰城品牌手册-冰淇淋 奶茶.pdf
原创力文档

文档评论(0)