Simple Bit Manipulation, pt. I

Jacob Lozano
3 min readJan 3, 2021

Bit Manipulation is a tool programmers use to flex that they have a CS degree. The concepts are rudimentary, but actually utilizing these low level functions is much harder. Great programmers like John Carmack and Terje Mathisen of Id Software can utilize bit manipulations for bespoke code, as they did with vector , but we’ll stick to known practices. While these operations work best in programming languages with a more intimate relationship with memory, such as C, I’ll be writing this code in JavaScript

--

--