4 ms·
What are some good resources to learn about bits?
by pennaMan 9y ago
What are some good resources to learn about bits?
- jeffreygoesto 9y agoThere are some quite good pages, I don't remember the exact titles, but the first results are quite ok: https://www.google.de/search?q=bit%20hacks https://www.google.de/search?q=bit%20hacks
- bitexploder 9y agoYou can write mostly C code. Each processor will have different quirks. https://en.wikipedia.org/wiki/CPU_cache https://en.wikipedia.org/wiki/CPU_cache https://www.akkadia.org/drepper/cpumemory.pdf https://www.akkadia.org/drepper/cpumemory.pdf These are great places to start. Especially Ulrich Drepper's PDF on memory. edit: even simple things like looping can require knowledge of "bits" and "memory layout" and "CPU cache" to write the fastest code. Most people don't need to write the fastest code though.