3 ms·
You're explaining the difference between two things, but not the two things I asked about.
by thaumasiotes 10y ago
You're explaining the difference between two things, but not the two things I asked about.
- Matthias247 10y agoSorry - the question is not immediatly understandable. If you mean how 'var t *Tabby = nil' is different from the interface representation: For this one no type information is stored at runtime. It's only a single pointer. Whereas an interface at runtime is always represented by 2 fields, a pointer and a type field.
- thaumasiotes 10y agoThanks. It didn't occur to me that non-interface types might not actually carry type information.