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

C23 finally introduces binary literals, e.g. you can write now "0b11110000" instead of "0xf0" for situations where binaries are more readable (but with a bit of 'training', hexadecimal works just as well).

Also, bitwise operations are essentially "SIMD for bits" and important down on the machine code level, it makes a lot of sense to have that same functionality also in higher level languages (unfortunately not all common bitwise instructions - like rotations - made it into high level languages).

(edited)



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

Search: