MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/8ue8st/python_370_released/e1fe2ik/?context=3
r/programming • u/sply • Jun 27 '18
383 comments sorted by
View all comments
Show parent comments
0
[deleted]
13 u/Homoerotic_Theocracy Jun 28 '18 And I'm not talking about "auto"; I'm talking about std::any where a datum is stored together with a type tag in a fat pointer that preserves the type information at runtime which can be queried. 0 u/[deleted] Jun 28 '18 [deleted] 5 u/Homoerotic_Theocracy Jun 28 '18 Except here it isn't and this isn't void* and there is no erasure.The entire point is that it saves the type-tag which continues to exist at runtime.As the documentation says it is type-safe; that's different from void* which is pretty unsafe. → More replies (4)
13
And I'm not talking about "auto"; I'm talking about std::any where a datum is stored together with a type tag in a fat pointer that preserves the type information at runtime which can be queried.
0 u/[deleted] Jun 28 '18 [deleted] 5 u/Homoerotic_Theocracy Jun 28 '18 Except here it isn't and this isn't void* and there is no erasure.The entire point is that it saves the type-tag which continues to exist at runtime.As the documentation says it is type-safe; that's different from void* which is pretty unsafe. → More replies (4)
5 u/Homoerotic_Theocracy Jun 28 '18 Except here it isn't and this isn't void* and there is no erasure.The entire point is that it saves the type-tag which continues to exist at runtime.As the documentation says it is type-safe; that's different from void* which is pretty unsafe. → More replies (4)
5
Except here it isn't and this isn't void* and there is no erasure.
void*
The entire point is that it saves the type-tag which continues to exist at runtime.
As the documentation says it is type-safe; that's different from void* which is pretty unsafe.
→ More replies (4)
0
u/[deleted] Jun 28 '18
[deleted]