News for hackers. Stuff that matters.
Re:Why German Strings Are Everywhere? by StopDisinfo910 on Tuesday January 06, 2026 @10:28AM (#46513479)
> We chose 4B because that was the maximum number of bytes that would be unused otherwise

I'm sure you did but there is something funny reading this phrase while at the same time considering you have robbed two bits from your pointer to represent class - admittedly the only thing I find questionable in your design.

If that's the case it's a happy accident because having a full code point here is quite nice.

Re:Why German Strings Are Everywhere? by msichert on Tuesday January 06, 2026 @10:34AM (#46513573)
That's a good point. We just use pointer tagging in many different places (e.g. for pointer swizzling in our buffer pages), so including a few bits of information in a pointer just seemed obvious.