高级操作系统高级操作系统 (29).pdf

上传人:刘静 文档编号:57971402 上传时间:2022-11-06 格式:PDF 页数:36 大小:3.15MB
返回 下载 相关 举报
高级操作系统高级操作系统 (29).pdf_第1页
第1页 / 共36页
高级操作系统高级操作系统 (29).pdf_第2页
第2页 / 共36页
点击查看更多>>
资源描述

《高级操作系统高级操作系统 (29).pdf》由会员分享,可在线阅读,更多相关《高级操作系统高级操作系统 (29).pdf(36页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、第 6 讲:The Programming Languages of OS第二节:The Evolution of C Programming Practices:A Study of the Unix Operating System 19732015IntroductionHistory of C1969:B created,based on BCPL,to replace PDP-7 assembleras the system programming language for Unix,remained atypeless language like BCPL1971:NB(”new

2、B”)created when porting B to PDP-11,types(int,char,arrays and pointers),array-to-pointer conversion,compilation to machine code1972:Language renamed to C,structs,preprocessor,portableI/O1973:Unix re-written in C1978:The C Programming Language,1st editionThe Development of the C Language,Dennis M.Rit

3、chie,1993.IntroductionWhy was C be used to develop UNIX?Thompson decided that Unix possibly needed a systemprogramming language,he created a language B(from BCPL).B can be thought of as C without types;BCPL,B,and C all fit firmly in the traditional proceduralfamily typified by Fortran and Algol 60.T

4、hey are close to themachine abstractions.BCPL,B have a single data type,the word,or cell,afixed-length bit pattern.Memory in these languages consistsof a linear array of such cells.B generated threaded code.The C extended the B by adding types and also rewrote itscompiler to generate PDP-11 machine

5、instructions.The C compiler is capable of producing programs fast andsmall enough to compete with assembly language.This DEC VAX 11/780 machine became much more popular.IntroductionWhy was C be used to develop UNIX?C was a traditional procedural family languageSPEED CLOSE TO ASSEMBLYCLOSE TO MACHINE

6、 ABSTRACTIONTYPE SAFETYPORTABILITYSIMPLE/SMALL LANG&BIG LIBRARY.IntroductionWhence Success?The success of Unix itself was the most important factorRemains a simple and small languageAt the same time the language is sufficiently abstracted frommachine details that program portability can be achievedC

7、 and its central library support always remained in touchwith a real environmentThe actual C language as seen by millions of users using manydifferent compilers has remained remarkably stable andunified compared to those of similarly widespreadcurrency,for example Pascal and Fortran.A Study of the U

8、nix Operating System 19732015objectiveThe objective of this work is to study thelong term evo-lution of C programming inthe context of the Unix oper-ating systemdevelopment.Formulate seven hypotheses associatedwith the long term evolution of Cprogramming in the Unix operatingsystem.A Study of the Un

9、ix Operating System 19732015Seven hypotheses associated with the long term evolution of Cprogramming in the Unix operating systemProgramming practices reflect technology affordancesModularity increases with code sizeNew language features are increasingly used to saturationpointProgrammers trust the

10、compiler for register allocationCode formatting practices converge to a common standardSoftware complexity evolution follows self correction feedbackmechanismsCode readability increases.A Study of the Unix Operating System 19732015Timeline of indicative analyzed revisions and milestones in(from top

11、to bottom):C languageevolution,developer interfaces,programming guidelines,processing capacity,collaborationmechanisms,and tools.A Study of the Unix Operating System 19732015.A Study of the Unix Operating System 19732015H1:Programming practices reflect technology affordancesHalf Century of Unix:Hist

12、ory,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H1:Programming practices reflect technology affordancesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A

13、 Study of the Unix Operating System 19732015H1:Programming practices reflect technology affordancesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H1:Programming practices reflect technology

14、affordancesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H1:Programming practices reflect technology affordancesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinel

15、lis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H2:Modularity increases with code sizeHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H2:Modularity increases w

16、ith code sizeHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H3:New language features are increasingly used to saturation pointHalf Century of Unix:History,Preservation,and Lessons Learned,Di

17、omidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H3:New language features are increasingly used to saturation pointHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating

18、 System 19732015H3:New language features are increasingly used to saturation pointHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H3:New language features are increasingly used to saturation

19、pointHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H3:New language features are increasingly used to saturation pointHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis S

20、pinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H3:New language features are increasingly used to saturation pointHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System

21、19732015H4:Programmers trust the compiler for register allocationHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H5:Code formatting practices converge to a common standardHalf Century of Unix

22、:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H5:Code formatting practices converge to a common standardHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortiu

23、m,2017.A Study of the Unix Operating System 19732015H5:Code formatting practices converge to a common standardHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H6:Software complexity evolution

24、follows self correctionHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H6:Software complexity evolution follows self correctionHalf Century of Unix:History,Preservation,and Lessons Learned,Di

25、omidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H6:Software complexity evolution follows self correctionHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19

26、732015H6:Software complexity evolution follows self correctionHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H6:Software complexity evolution follows self correctionHalf Century of Unix:Hist

27、ory,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H7:Code readability increasesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operati

28、ng System 19732015H7:Code readability increasesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H7:Code readability increasesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomi

29、dis Spinellis,keynote of OW2 Consortium,2017.A Study of the Unix Operating System 19732015H7:Code readability increasesHalf Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.ReferencesThe Development of the C Language,Dennis M.Ritchie,1993The Evolution of C Programming Practices:A Study of the Unix Operating System 19732015,Diomidis Spinellis,ICSE,2016Half Century of Unix:History,Preservation,and Lessons Learned,Diomidis Spinellis,keynote of OW2 Consortium,2017.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 大学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁