News for hackers. Stuff that matters.
Re:Union types ('enum types') would be complicated in Go by treyd on Friday December 06, 2024 @10:25PM (#42346996)
> The problem with allocating bit-packed storage is that then you are into the issue where types don't agree on where any pointers are.

The solution to this should be trivial. You just have to extend the gcshape concept to account for the enum discriminator.

There are no comments on this comment yet.