Re:How generics were added to .NET
by candiodari on Monday March 05, 2018 @10:34PM
(#16526675)
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).
[ Parent
| on HN ]
Re:How generics were added to .NET
by matthewwarren on Tuesday March 06, 2018 @05:03AM
(#16527934)
> 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-t... or 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.