News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by nickysielicki on Tuesday April 14, 2020 @10:04AM (#22866098)
In the same vein, I really like being able to use underscores in binary and hex literals to denote subfields in hardware registers.

0xDEADB_EEF

0b1_010_110111001001

etc.

Re:Tell HN: C Experts Panel – Ask us anything about C by jhallenworld on Tuesday April 14, 2020 @10:08AM (#22866143)
Should take Verilog binary construction syntax, like { 12'd12, 16'hffee, 3'b101 } (or something similar that would fit with C's syntax).
Re:Tell HN: C Experts Panel – Ask us anything about C by dirtydroog on Tuesday April 14, 2020 @11:30AM (#22867180)
Maybe not.
Re:Tell HN: C Experts Panel – Ask us anything about C by jhallenworld on Tuesday April 14, 2020 @03:53PM (#22870661)
Why not? If you have to combine bit fields now, it's a mess of shifting and masking.