3 ms·
I don't know why Rust gets "runtime" and Nim gets "compile time" for type confusion?
by IshKebab 4y ago
I don't know why Rust gets "runtime" and Nim gets "compile time" for type confusion?
- shirleyquirk 4y agoyes, for tagged unions specifically, (which the linked post refers to for that row) Nim raises an exception at runtime when trying to access the wrong field, (or trying to change the discriminant)