Clickable: https://news.ycombinator.com/item?id=5506458
At the moment, the linked submission is sitting at 2 points. The default is 1 point, and I'm the +1 up-voter. People writing code should know these things, but the move away from learning real low level languages means many people never learn these things. NOTE: The "low level" languages are assembly, microcode, and machine code, but never C. In spite of claims to the contrary, C is a high level language. When employ…
Poll: How many programmers don't know about bit-wise operations?
11–20 of 82 posts
Re: Poll: How many programmers don't know about bit-wise operations?
#12Re: Poll: How many programmers don't know about bit-wise operations?
#13Re: Poll: How many programmers don't know about bit-wise operations?
#14Re: Poll: How many programmers don't know about bit-wise operations?
#15Otherwise, I'm ORing some flags together for some library call: libcurl, libxml2, plus bits of the C library like fcntl and open. Oh, and I guess I frob some termios bits sometimes to enable or disable echo for reading a password.
It doesn't come up often. When it does, it gets hidden down in some low-level utility function and then I build on top of that with something which doesn't try to be clever.
Re: Poll: How many programmers don't know about bit-wise operations?
#16 - C (not "C/C++", those people generally mean "C++")
- video codecs
- compression of any kind
- encryption / cryptography of any kind
- embedded anythingRe: Poll: How many programmers don't know about bit-wise operations?
#17Re: Poll: How many programmers don't know about bit-wise operations?
#18Clickable: https://news.ycombinator.com/item?id=5506458
At the moment, the linked submission is sitting at 2 points. The default is 1 point, and I'm the +1 up-voter. People writing code should know these things, but the move away from learning real low level languages means many people never learn these things. NOTE: The "low level" languages are assembly, microcode, and machine code, but never C. In spite of claims to the contrary, C is a high level language. When employ…