Second draft: Sum Type by Struct

Per Nordlöw per.nordlow at gmail.com
Fri Sep 11 22:07:18 UTC 2026


On Thursday, 10 September 2026 at 17:56:21 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> No.

Can you please give a motive to why you don't want to support 
this? And I don't understand why you are pasting the code 
failure. The code works for me.

I'm asking for this feature because compilers in Rust and Zig are 
free to apply these kinds of optimizations of internal 
representations of tag + store bits. For reference see 
https://aistudio.google.com/app/prompts/13-IPxgegDo_TpqGYWWlnrV2rumxqA1zi.


More information about the dip.development mailing list