Understanding Bitshift Operations | Free course Game Development Fundamentals
A short and beginner-friendly course on bitshift operations and how they are used in game programming
Understanding Bitshift Operations | Free course Game Development Fundamentals |
Description
The course covers:
The math behind multiplication and division by the base in the decimal system
The math behind multiplication and division by the base in binary
The difference between left shift and right shift
Bitshift operators as processor instructions
Bitshift operators in high-level languages
Arithmetic and logical shifts
Examples of source code applications
· Review of relevance and applications of bit-shifting operations in software development
Bitshifting was very popular in early games. We will also discuss their current relevance and when we should consider using them in modern code.
There are no hardware or programming language requirements for this course. If you program in any high-level language (C, C++, Java, Python, Rust, etc) you will be able to follow along and understand how bit shifting works. But if you want to follow along and check the example source code, you'll need a basic code editor and a compiler.