Week 3 Lecture 2 - Bitwise Operations and the Practical Effects of Caching

Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=qmGm6lNAlTk



Duration: 1:52:01
106 views
0


Today we hit one big content point:
1) How signed integers work (2s Complement)


And then two more points:
2) How bitwise operations work
3) Why it's important to understand how the memory hierarchy works (including the -Os optimizer flag)


With some time spent showing the differences in compiled code on Godbolt and the GALACTIC INK pen in Onenote.







Tags:
csci 45
2s complement
bitwise operations
caching
memory hierarchy