Bens Stuff

Thursday, June 17, 2004

Shifty bits

I was looking at this Javaranch journal entry about shifting bits and it got me thinking. I remember having to do that stuff in Assembly and later in C back when I was in school, but I have yet to find a practical use for it in my daily work. What do people use bit shifting for in the real world? As a Java web developer, why would I shift any bits around?