Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

bits manipulation (C)

Name: Anonymous 2007-03-11 16:10 ID:8VfOl357

I'm an autodidact and I have programmed in C for one year now, but never studied this topic. Apart from operating systems or embedded systems, when do we need to manipulate bits in 21st century ? If you could give some examples...

Name: Anonymous 2007-03-11 16:20 ID:tV4CYVI8

Off the top of my head:

* Reading and/or writing binary file formats (GIF, PNG, JPEG, MP3, ...)
* Hashing
* Cryptography
* Flags (in C and similar languages)
* Interacting with legacy code
* Anywhere overflow or roundoff errors are likely to be a problem:
** Bignum libraries
** 'Scientific' libraries
** Audio libraries
* Premature optimization

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List