How do you fit a character, a style, a width, and type safety into exactly 8 bytes? Claude Code uses bitfield surgery. We use phantom-tagged IDs and static_assert. Both compile to one cmp instruction.
Posts tagged “static-assert” (2)
The compile-time language's error messages are notoriously awful. But you can control them — static_assert, concepts, and careful design turn compiler vomit into helpful diagnostics.