- 1
- 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
您可能关注的文档
最近下载
- 2024-2025学年统编版道德与法治六年级下册全册教案(教学设计).pdf VIP
- 环保在线监测系统运行维护管理体系.pdf VIP
- 冯巧根 管理会计(第4版)课后习题答案.docx VIP
- 医疗废物岗位职责.docx VIP
- 最新人教版三年级数学下册全册教案(新课标版).docx VIP
- 基于单片机的火灾报警及灭火系统.docx VIP
- 基于单片机的灭火机器人设计.doc VIP
- 安徽省定远县2025年上半年事业单位公开招聘试题含答案分析.docx VIP
- 小学数学教学中数学建模思想与生活问题解决课题报告教学研究课题报告.docx
- 中国糖尿病防治指南(2024版)解读-糖尿病相关技术.pptx
原创力文档

文档评论(0)