Loom

A blog engine that just works. One binary, no setup, no dependencies.

Posts tagged “bit-packing” (1)

Cell Packing — Fitting a Universe into 8 BytesMar 07 8.4K

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.

--c++23 --bit-packing --phantom-types --static-assert --memory-layout --claude-code