541118 深入理解计算机系统(原书第三版)课程ppt

所需积分/C币:37 2019-04-19 18:31:15 1.01MB PDF

本书简称CS:APP,主要面向计算机科学家,计算机工程师,以及想通过学习计算机系统的内在运作而能够写出更好程序的人。
Carnegie mellon Overview Big picture Course theme Five realities How the course fits into the cs/ECe curriculum Academic integrity Logistics and Policies Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition Carnegie mellon The big picture Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition 4 Carnegie mellon Why take this course? What do you want to learn? Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition 5 Carnegie mellon Course Theme (Systems)Knowledge is Power! ■ Systems Knowledge How hardware(processors, memories, disk drives, network infrastructure plus software(operating systems, compilers libraries network protocols) combine to support the execution of application programs a How you as a programmer can best use these resources Useful outcomes from taking 213 513 Become more effective programmers Able to find and eliminate bugs efficientl able to understand and tune for program performance Prepare for later systems" classes in CS ECE Compilers, Operating Systems, Networks, Computer Architecture, Embedded Systems, Storage Systems, etc Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition 6 Carnegie mellon It's Important to Understand How Things Work a Why do i need to know this stuff? Abstraction is good but don't forget reality Most CS and ce courses emphasize abstraction Abstract data types Asymptotic analysis These abstractions have limits Especially in the presence of bugs Need to understand details of underlying implementations Sometimes the abstract interfaces don't provide the level of control or performance you need Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition Carnegie mellon Great Reality #1 Ints are not Integers floats are not reals Examp|e1:lsx2≥0? .43°6…1307…32,飞67…-32飞8…1.-32,67…-32,k6 Float's: Yes! BAAA BAAA BAAA BAAAA BAAA o ta 40000*40000->1600000000 50000*50000->? Example 2: Is x+y)+2 =X+y+2? Unsigned signed ints: Yes float's: (1e20+-1e20)+3.14->3.14 e20+(-1e20+314)->?? Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition Source: xkcd. com/571 8 Carnegie mellon Computer Arithmetic Does not generate random values Arithmetic operations have important mathematical properties Cannot assume all"usual"mathematical properties Due to finiteness of representations Integer operations satisfy ring" properties Commutativity, associativity distributivity Floating point operations satisfy ordering" properties Monotonicity, values of signs observation Need to understand which abstractions apply in which contexts Important issues for compiler writers and serious application programmers Bryant and O Hallaron, Computer Systems: A Programmers Perspective, Third Edition 9 Carnegie mellon Great Reality #2: You've Got to Know Assembly a Chances are, you'll never write programs in assembly Compilers are much better more patient than you are But: Understanding assembly is key to machine-level execution ode Behavior of programs in presence of bugs High-level language models break down Tuning program performance Understand optimizations done not done by the compiler Understanding sources of program inefficiency Implementing system software Compiler has machine code as target Operating systems must manage process state Creating /fighting malware Bryant and O HallarorX& ssem bbygisnthe nfn choice! 10

...展开详情
试读 59P 541118 深入理解计算机系统(原书第三版)课程ppt
img

关注 私信 TA的资源

上传资源赚积分,得勋章
    最新推荐
    541118 深入理解计算机系统(原书第三版)课程ppt 37积分/C币 立即下载
    1/59
    541118 深入理解计算机系统(原书第三版)课程ppt第1页
    541118 深入理解计算机系统(原书第三版)课程ppt第2页
    541118 深入理解计算机系统(原书第三版)课程ppt第3页
    541118 深入理解计算机系统(原书第三版)课程ppt第4页
    541118 深入理解计算机系统(原书第三版)课程ppt第5页
    541118 深入理解计算机系统(原书第三版)课程ppt第6页
    541118 深入理解计算机系统(原书第三版)课程ppt第7页
    541118 深入理解计算机系统(原书第三版)课程ppt第8页
    541118 深入理解计算机系统(原书第三版)课程ppt第9页
    541118 深入理解计算机系统(原书第三版)课程ppt第10页
    541118 深入理解计算机系统(原书第三版)课程ppt第11页
    541118 深入理解计算机系统(原书第三版)课程ppt第12页
    541118 深入理解计算机系统(原书第三版)课程ppt第13页
    541118 深入理解计算机系统(原书第三版)课程ppt第14页
    541118 深入理解计算机系统(原书第三版)课程ppt第15页
    541118 深入理解计算机系统(原书第三版)课程ppt第16页
    541118 深入理解计算机系统(原书第三版)课程ppt第17页
    541118 深入理解计算机系统(原书第三版)课程ppt第18页

    试读已结束,剩余41页未读...

    37积分/C币 立即下载 >