News for hackers. Stuff that matters.
Re:Type-erased generic functions for C: A modest non-proposal by choeger on Thursday October 03, 2024 @03:37AM (#41728187)
I really don't see what the problem with the runtime metadata is? In the example, the size of T is also an argument? So why not pass a pointer to the whole set of type information there?
Re:Type-erased generic functions for C: A modest non-proposal by rwmj on Thursday October 03, 2024 @05:15AM (#41728824)
Modern CPUs make following pointers quite slow.