2019 AIM HDC has ended
Back To Schedule
Thursday, September 5 • 1:15pm - 2:00pm
Generics Everywhere - But They Are Not The Same

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
.NET as other platforms supports generics. They allow us to write strongly typed code just once and reuse it for multiple types. Even though this sounds easy, generics are actually quite complicated under the hood and each platform implements them differently.

We will see different approaches for implementing generics. We will compare reification in .NET, type erasure in JVM and templates in C++. We will see why stronger type system sometimes is less powerful and why casting everything to object can be better then storing a concrete type. We will see what had to be done to support generics in .NET and why they were not available since the very beginning. 

avatar for Adam Furmanek

Adam Furmanek

Developer, Amazon
I am Adam Furmanek and I have been working as a .NET developer for 5 years. Now I am at Amazon working with Scala, Spark and Machine Learning. I am always interested in digging deeper, exploring machine code and going through implementation details to better understand internals of... Read More →

Thursday September 5, 2019 1:15pm - 2:00pm CDT