https://github.com/ityonemo/Primes/blob/f157b63d91375c62f110...
I've also verified that binary representations of unusual datatypes are correct and have the expected properties (~>5 yr ago, paid gig, actually my first paid gig):
https://github.com/interplanetary-robot/SigmoidNumbers/blob/...
https://github.com/interplanetary-robot/SigmoidNumbers/blob/...
Extremely happy with it in all cases. You can't convince me otherwise. Zig and Julia would be poorer languages if not for binary literals. My life would have been more annoying without it. It's a tool I have reached for in the past and will continue reaching for when appropriate and tasteful, I have not "abandoned it". At least, I'm one datapoint that refutes your assertion.
There's always one!
BTW, D does support 0b:
I haven’t used the C2x version, but one thing I expect them to be useful for is self-documentation of enums representing bitmask values.
I used to do that, and wound up back using hex. Hex is easier to read for me, as I don't have to count the digits.