Skip to content

Notes for Computer Systems: A Programmer’s Perspective 3rd Edition, Computer organization and design RISC-V 2nd Edition and OSTEP. Also see CSAPP-3e-Solutions.

Notifications You must be signed in to change notification settings

sci-42ver/csapp3e_COD_and_OSTEP

 
 

Repository files navigation

Delete Q1 (maybe my english comprehension is clumsy. The wikipedia doesn't mean CC is opposite of )

csapp3e

Source code from Computer Systems: A Programmer's Perspective, 3rd Edition (2015) by Randal E. Bryant and David R. O'Hallaron. I read global edition although with small errors in that book.

book code location

  • Figure 12.26: rw1.c.

two's complement(where also says term origin 'The 'two' in the name' and one's complement 'all 1s') also see p132

miscs

  • round to zero -> keep negative number division similar behavior as its absolute (i.e. abs(-5/4)=5/4)

tools

how to find books

SE(Stack Exchange)

proofwiki

lsp (language server protocal)

where to find codes

learning path

valuable websites

github

interesting community

More to read (from this)

  • In "What about AI/graphics/pet-topic-X?" it recommends 3 topics although I don't plan to learn them.
  • For the starting language, C++ is fine

    I found myself actually not starting with C++... because I showed them BF first. An experienced C++ coder can do e.g. Java at full speed in a matter of weeks. But if you build on a foundation of C++, you will always be on a secure footing.

    • Stop Teaching C just means C should be one prerequisite of C++

      Just because you can learn C++ as an add-on to C doesn’t mean those who know neither should learn C first

    • compared with rust (although most is about C)

      The difference is in C you often don't find the mistake until you run the program and trigger a bug, where Rust would have pointed it out to you with extremely detailed error messages and suggested a fix.

      • The discussion between gbutler69 and ZiCog strays
      • Also said by this "编译器" (We can use translate to read this)

        用C++已经混了三年的饭吃了,但还只能看到C++的门槛,没法说入了C++的门。

        同理,虽然距离我学习Rust已经过去6年了,我依然感觉我还不会Rust,都是编译器教我写代码

      • And very important, something I read earlier on my career on Stroustrup’s book : focus on programming techniques, not language features. see Focus on concepts and techniques rather than language-technical details.

most of notes in this md

how do I know csapp

exercises

  • This is the 1st time I self-study one CS book. I wrote notes of those exercises with solutions in the book in one paper notebook which is already lost. Although it is a pity, I have learnt from all these exercises.

TODO

https://www.cs.cmu.edu/~213/index.html and homework https://github.com/exajobs/university-courses-collection?tab=readme-ov-file 18-447

Grading Composed from total lab performance (50%), total written assignment performance (20%) and final exam performance (30%).

code review

  • Skip 12_19.c (I don't remember the logic of that buggy codes).

log

  • I updated something all to something like hervey except for files in .git,Windows.vim,*.pem,RECORD,*.reg,*.ipynb,*.code-workspace,*.eps,flypy_phrase.dict.yaml
    • *.code-workspace needs updates.

About

Notes for Computer Systems: A Programmer’s Perspective 3rd Edition, Computer organization and design RISC-V 2nd Edition and OSTEP. Also see CSAPP-3e-Solutions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 66.4%
  • Python 13.0%
  • Verilog 5.9%
  • Assembly 4.7%
  • HTML 1.9%
  • Makefile 1.8%
  • Other 6.3%