3 ms·
Does anybody remember the article about their generics implementation in assembly ? How they basically were able to reduce the cost of generics by observing the
by candiodari 9y ago
Does anybody remember the article about their generics implementation in assembly ? How they basically were able to reduce the cost of generics by observing they needed only 3 implementations, by writing specialized versions, one for 8-64 bit values (just one version), and then one for 64 bit pointers, and one for structs (struct passed in by having length and value).
- matthewwarren 9y ago> Does anybody remember the article about their generics implementation in assembly ? Do you mean http://joeduffyblog.com/2011/10/23/on-generics-and-some-of-the-associated-overheads/ http://joeduffyblog.com/2011/10/23/on-generics-and-some-of-t... or https://blogs.msdn.microsoft.com/joelpob/2004/11/17/clr-generics-and-code-sharing/ https://blogs.msdn.microsoft.com/joelpob/2004/11/17/clr-gene... They're 2 articles I came across that covered the low-level details of the generic impl.