Y
Hacker News
new
|
ask
|
show
|
jobs
by
ImprobableTruth
579 days ago
Yes, that's how it works.
I think in Zig for new types you'd use enums for ints and packed structs for more complex types.