Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have always wondered why I was taught binary as if they were arrays, but programming languages never allowed me to use bits like arrays. It's always masking and shifting uint16_t or int32_t, instead of what I really want,

"result = bits[3] xor bits2[3]".



I'm unable to find a reference, but I'm pretty sure you could do that in PL/I.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: