3 ms·
Discriminated unions are neither architecture-dependent nor unsafe.
by ootachi 15y ago
Discriminated unions are neither architecture-dependent nor unsafe.
- bwarp 15y agoA "tagged union" which is what I assume you mean is usually abstracted as a native type (struct) in other langauges (Go included). C gives you architecture level access to it. Go leaves it to the VM to decide.